wok-6.x diff ruby/receipt @ rev 87
Xorg proto + all new libs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 02 22:24:15 2008 +0100 (2008-01-02) |
parents | 99715173ee02 |
children | b61b574cf78e |
line diff
1.1 --- a/ruby/receipt Tue Dec 18 13:55:18 2007 +0100 1.2 +++ b/ruby/receipt Wed Jan 02 22:24:15 2008 +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 +}