wok-current rev 78
UP : ruby (1.9.0-0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 30 16:18:11 2007 +0100 (2007-12-30) |
parents | 519a487cbf64 |
children | ed0383bf9db6 |
files | ruby/receipt |
line diff
1.1 --- a/ruby/receipt Sun Dec 30 14:53:07 2007 +0100 1.2 +++ b/ruby/receipt Sun Dec 30 16:18:11 2007 +0100 1.3 @@ -1,13 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ruby" 1.7 -VERSION="1.8.6-p110" 1.8 +VERSION="1.9.0-0" 1.9 CATEGORY="devel" 1.10 SHORT_DESC="Dynamic programming language focused on simplicity and productivity." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.ruby-lang.org/" 1.14 -WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL" 1.15 +WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$TARBALL" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 @@ -27,8 +27,16 @@ 1.20 cp -a $_pkg/usr/bin $fs/usr 1.21 1.22 # Remove devel files and strip bin/lib 1.23 - rm $fs/usr/lib/ruby/1.8/i486-linux/*.h 1.24 - strip --strip-unneeded $fs/usr/lib/ruby/1.8/i486-linux/*.so 1.25 - strip --strip-unneeded $fs/usr/lib/ruby/1.8/i486-linux/*/*.so 1.26 + rm $fs/usr/lib/ruby/1.9/i486-linux/*.h 1.27 + strip --strip-unneeded $fs/usr/lib/ruby/1.9/i486-linux/*.so 1.28 + strip --strip-unneeded $fs/usr/lib/ruby/1.9/i486-linux/*/*.so 1.29 strip -s $fs/usr/bin/ruby 1.30 } 1.31 + 1.32 +# Remove old libs. 1.33 +post_install() 1.34 +{ 1.35 + local root 1.36 + root=$1 1.37 + rm -rf $root/usr/lib/ruby/1.8 1.38 +}