mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Change bz2, curl, expat, libsigsegv, ncurses, ncursesw, pcre, readline, readline7, xzutils and zlibpkg to install libraries to CREW_LIB_PREFIX explicitly.
This commit is contained in:
@@ -12,11 +12,18 @@ class Readline < Package
|
||||
depends_on 'ncurses'
|
||||
|
||||
def self.build
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-001 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-002 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-003 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-004 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-005 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-006 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-007 -P readline-6.3-patches"
|
||||
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-008 -P readline-6.3-patches"
|
||||
# system "for i in readline-6.3-patches/*.sig; do gpg $i; done"
|
||||
system "for i in readline-6.3-patches/readline63-???; do patch < $i; done"
|
||||
|
||||
system "CC='gcc' ./configure --disable-static --with-curses"
|
||||
system "CC='gcc' ./configure --libdir=#{CREW_LIB_PREFIX} --disable-static --with-curses"
|
||||
system "make"
|
||||
system "find . -name 'lib*.so.*' -print | xargs strip -S"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user