Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
ba3e88e0
Commit
ba3e88e0
authored
Jul 02, 2017
by
lyxell
Committed by
GitHub
Jul 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #816 from jam7/update/lib64-2
Support lib64 installation on x86_64 part 2
parents
3be3e1d3
298a3d6b
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
37 additions
and
19 deletions
+37
-19
packages/bison.rb
packages/bison.rb
+2
-2
packages/filecmd.rb
packages/filecmd.rb
+1
-1
packages/flex.rb
packages/flex.rb
+1
-1
packages/gawk.rb
packages/gawk.rb
+1
-1
packages/gdbm.rb
packages/gdbm.rb
+1
-1
packages/gettext.rb
packages/gettext.rb
+1
-1
packages/libffi.rb
packages/libffi.rb
+1
-1
packages/libpipeline.rb
packages/libpipeline.rb
+1
-1
packages/libssh2.rb
packages/libssh2.rb
+2
-1
packages/libunbound.rb
packages/libunbound.rb
+1
-1
packages/libxml2.rb
packages/libxml2.rb
+1
-1
packages/python27.rb
packages/python27.rb
+11
-2
packages/python3.rb
packages/python3.rb
+9
-1
packages/ruby.rb
packages/ruby.rb
+1
-1
packages/sqlite.rb
packages/sqlite.rb
+1
-1
packages/tcl.rb
packages/tcl.rb
+2
-2
No files found.
packages/bison.rb
View file @
ba3e88e0
...
...
@@ -14,8 +14,8 @@ class Bison < Package
# depends_on 'flex' => :build
def
self
.
build
system
'./configure --prefix=/usr/local'
system
'make'
system
"./configure --prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
"
system
"make"
end
def
self
.
install
...
...
packages/filecmd.rb
View file @
ba3e88e0
...
...
@@ -8,7 +8,7 @@ class Filecmd < Package
source_sha256
'09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee'
def
self
.
build
system
"./configure"
system
"./configure
--libdir=
#{
CREW_LIB_PREFIX
}
"
system
"make"
end
...
...
packages/flex.rb
View file @
ba3e88e0
...
...
@@ -11,7 +11,7 @@ class Flex < Package
depends_on
'bison'
=>
:build
def
self
.
build
system
"./configure"
,
"--with-pic"
,
"--disable-static"
,
"--enable-shared"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
with-pic"
,
"--disable-static"
,
"--enable-shared"
system
"make"
end
...
...
packages/gawk.rb
View file @
ba3e88e0
...
...
@@ -14,7 +14,7 @@ class Gawk < Package
depends_on
'gmp'
def
self
.
build
system
'./configure'
,
'--prefix=/usr/local'
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
'make'
end
...
...
packages/gdbm.rb
View file @
ba3e88e0
...
...
@@ -10,7 +10,7 @@ class Gdbm < Package
depends_on
'readline'
def
self
.
build
system
'./configure'
,
'--disable-static'
,
'--enable-shared'
,
'--with-pic'
system
'./configure'
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
,
'--disable-static'
,
'--enable-shared'
,
'--with-pic'
system
'make'
end
...
...
packages/gettext.rb
View file @
ba3e88e0
...
...
@@ -12,7 +12,7 @@ class Gettext < Package
depends_on
'libxml2'
def
self
.
build
system
"./configure"
,
"--enable-shared"
,
"--disable-static"
,
"--with-pic"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
enable-shared"
,
"--disable-static"
,
"--with-pic"
system
"make"
end
...
...
packages/libffi.rb
View file @
ba3e88e0
...
...
@@ -8,7 +8,7 @@ class Libffi < Package
source_sha1
'280c265b789e041c02e5c97815793dfc283fb1e6'
def
self
.
build
system
"./configure"
,
"--enable-shared"
,
"--disable-static"
,
"--with-pic"
,
"--disable-debug"
,
"--disable-dependency-tracking"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
enable-shared"
,
"--disable-static"
,
"--with-pic"
,
"--disable-debug"
,
"--disable-dependency-tracking"
system
"make"
end
...
...
packages/libpipeline.rb
View file @
ba3e88e0
...
...
@@ -8,7 +8,7 @@ class Libpipeline < Package
source_sha1
'b31cc955f22b1aa4545dc8d00ddbde831936594f'
def
self
.
build
system
'./configure'
,
'--disable-static'
,
'--enable-shared'
,
'--with-pic'
system
'./configure'
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
,
'--disable-static'
,
'--enable-shared'
,
'--with-pic'
system
'make'
end
...
...
packages/libssh2.rb
View file @
ba3e88e0
...
...
@@ -11,8 +11,9 @@ class Libssh2 < Package
depends_on
'zlibpkg'
=>
:build
def
self
.
build
system
"./configure"
,
"--with-zlib"
,
"--with-openssl"
,
"--with-pic"
,
"--disable-static"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
with-zlib"
,
"--with-openssl"
,
"--with-pic"
,
"--disable-static"
system
"make"
system
"find . -name '*.so.*' -print | xargs strip -S"
end
def
self
.
install
...
...
packages/libunbound.rb
View file @
ba3e88e0
...
...
@@ -13,7 +13,7 @@ class Libunbound < Package
depends_on
'expat'
def
self
.
build
system
"./configure"
,
"--enable-shared"
,
"--disable-static"
,
"--with-pic"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
enable-shared"
,
"--disable-static"
,
"--with-pic"
# flex 2.6.3 requires -P option to rename yylex and other funcions
system
"sed"
,
"-i"
,
"Makefile"
,
"-e"
,
'/$(LEX) -t $(srcdir)\/util\/configlexer.lex/s:-t:-t -Pub_c_:'
...
...
packages/libxml2.rb
View file @
ba3e88e0
...
...
@@ -8,7 +8,7 @@ class Libxml2 < Package
source_sha1
'958ae70baf186263a4bd801a81dd5d682aedd1db'
def
self
.
build
system
"./configure"
,
"--enable-shared"
,
"--disable-static"
,
"--with-pic"
,
"--without-python"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
enable-shared"
,
"--disable-static"
,
"--with-pic"
,
"--without-python"
system
"make"
end
...
...
packages/python27.rb
View file @
ba3e88e0
...
...
@@ -14,7 +14,10 @@ class Python27 < Package
depends_on
'gdbm'
=>
:build
def
self
.
build
system
"./configure"
,
"CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw"
,
"--with-ensurepip=install"
,
"--enable-shared"
# python requires to use /usr/local/lib, so leave as is but specify -rpath
system
"./configure"
,
"CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw"
,
"LDFLAGS=-Wl,-rpath,
#{
CREW_PREFIX
}
/lib"
,
"--with-ensurepip=install"
,
"--enable-shared"
system
"make"
end
...
...
@@ -22,7 +25,13 @@ class Python27 < Package
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
# remove static library
system
"find
#{
CREW_DEST_DIR
}
/usr/local -name 'libpython*.a' -print | xargs rm"
system
"find
#{
CREW_DEST_DIR
}
/usr/local -name 'libpython*.a' -print | xargs -r rm"
# create symbolic links in lib64 for other applications which use libpython
unless
Dir
.
exist?
"
#{
CREW_DEST_DIR
}#{
CREW_LIB_PREFIX
}
"
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
CREW_LIB_PREFIX
}
"
system
"cd
#{
CREW_DEST_DIR
}#{
CREW_LIB_PREFIX
}
; ln -s ../lib/libpython*.so* ."
end
end
def
self
.
check
...
...
packages/python3.rb
View file @
ba3e88e0
...
...
@@ -14,7 +14,9 @@ class Python3 < Package
depends_on
'sqlite'
=>
:build
def
self
.
build
# python requires to use /usr/local/lib, so leave as is but specify -rpath
system
"./configure"
,
"CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw"
,
"LDFLAGS=-Wl,-rpath,
#{
CREW_PREFIX
}
/lib"
,
"--with-ensurepip=install"
,
"--enable-shared"
system
"make"
end
...
...
@@ -23,7 +25,13 @@ class Python3 < Package
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
# remove static library
system
"find
#{
CREW_DEST_DIR
}
/usr/local -name 'libpython*.a' -print | xargs rm"
system
"find
#{
CREW_DEST_DIR
}
/usr/local -name 'libpython*.a' -print | xargs -r rm"
# create symbolic links in lib64 for other applications which use libpython
unless
Dir
.
exist?
"
#{
CREW_DEST_DIR
}#{
CREW_LIB_PREFIX
}
"
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
CREW_LIB_PREFIX
}
"
system
"cd
#{
CREW_DEST_DIR
}#{
CREW_LIB_PREFIX
}
; ln -s ../lib/libpython*.so* ."
end
end
def
self
.
check
...
...
packages/ruby.rb
View file @
ba3e88e0
...
...
@@ -14,7 +14,7 @@ class Ruby < Package
# at run-time, system's gmp, openssl, readline and zlibpkg are possible to use
def
self
.
build
system
"CC='gcc' ./configure"
system
"CC='gcc' ./configure
--libdir=
#{
CREW_LIB_PREFIX
}
--enable-shared
"
system
"make"
end
...
...
packages/sqlite.rb
View file @
ba3e88e0
...
...
@@ -8,7 +8,7 @@ class Sqlite < Package
source_sha256
'3757612463976e7d08c5e9f0af3021613fc24bbcfe1c51197d6776b9ece9ac5c'
def
self
.
build
system
"./configure"
,
"--disable-static"
,
"--enable-shared"
,
"--with-pic"
system
"./configure"
,
"--
libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--
disable-static"
,
"--enable-shared"
,
"--with-pic"
system
"make"
end
...
...
packages/tcl.rb
View file @
ba3e88e0
...
...
@@ -10,9 +10,9 @@ class Tcl < Package
def
self
.
build
FileUtils
.
chdir
(
"unix"
)
do
if
`uname -m`
.
strip
==
"x86_64"
system
"./configure --prefix=
/usr/local
--enable-64bit"
system
"./configure --prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
--enable-64bit"
else
system
"./configure --prefix=/usr/local
"
system
"./configure --prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
"
end
system
"make"
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment