# HG changeset patch # User Christophe Lincoln # Date 1199027891 -3600 # Node ID c9488beff6172cbe5aedef10d000dc33b39f2815 # Parent 519a487cbf643bb2139506586834f7c7647d7757 UP : ruby (1.9.0-0) diff -r 519a487cbf64 -r c9488beff617 ruby/receipt --- a/ruby/receipt Sun Dec 30 14:53:07 2007 +0100 +++ b/ruby/receipt Sun Dec 30 16:18:11 2007 +0100 @@ -1,13 +1,13 @@ # SliTaz package receipt. PACKAGE="ruby" -VERSION="1.8.6-p110" +VERSION="1.9.0-0" CATEGORY="devel" SHORT_DESC="Dynamic programming language focused on simplicity and productivity." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.ruby-lang.org/" -WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL" +WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$TARBALL" # Rules to configure and make the package. compile_rules() @@ -27,8 +27,16 @@ cp -a $_pkg/usr/bin $fs/usr # Remove devel files and strip bin/lib - rm $fs/usr/lib/ruby/1.8/i486-linux/*.h - strip --strip-unneeded $fs/usr/lib/ruby/1.8/i486-linux/*.so - strip --strip-unneeded $fs/usr/lib/ruby/1.8/i486-linux/*/*.so + rm $fs/usr/lib/ruby/1.9/i486-linux/*.h + strip --strip-unneeded $fs/usr/lib/ruby/1.9/i486-linux/*.so + strip --strip-unneeded $fs/usr/lib/ruby/1.9/i486-linux/*/*.so strip -s $fs/usr/bin/ruby } + +# Remove old libs. +post_install() +{ + local root + root=$1 + rm -rf $root/usr/lib/ruby/1.8 +}