wok-current rev 7854
ruby: package with shared library, develop required.
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Wed Dec 29 08:15:41 2010 +0000 (2010-12-29) |
parents | 928de5046af6 |
children | 091548cc3ca5 |
files | ruby-dev/receipt ruby/receipt |
line diff
1.1 --- a/ruby-dev/receipt Wed Dec 29 21:27:12 2010 +0800 1.2 +++ b/ruby-dev/receipt Wed Dec 29 08:15:41 2010 +0000 1.3 @@ -13,6 +13,7 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/lib/ 1.7 + cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib 1.8 cp -a $_pkg/usr/lib/*.a $fs/usr/lib 1.9 cp -a $_pkg/usr/include $fs/usr 1.10 }
2.1 --- a/ruby/receipt Wed Dec 29 21:27:12 2010 +0800 2.2 +++ b/ruby/receipt Wed Dec 29 08:15:41 2010 +0000 2.3 @@ -17,7 +17,7 @@ 2.4 { 2.5 cd $src 2.6 patch -Np1 < ../stuff/openssl-1.0.patch 2.7 - ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS && 2.8 + ./configure --prefix=/usr --enable-shared --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS && 2.9 make -j 4 && 2.10 make DESTDIR=$PWD/_pkg install 2.11 }