# HG changeset patch # User Christophe Lincoln # Date 1212829844 -7200 # Node ID ac79d89fa8126605a3368f13c89c4ed741868be5 # Parent 29d6ffb622abc714045649e4dccf9abbf22cffe0 Up: ruby (1.8.7) -Back to a stable release diff -r 29d6ffb622ab -r ac79d89fa812 ruby/receipt --- a/ruby/receipt Sat Jun 07 11:09:33 2008 +0200 +++ b/ruby/receipt Sat Jun 07 11:10:44 2008 +0200 @@ -1,20 +1,23 @@ # SliTaz package receipt. PACKAGE="ruby" -VERSION="1.9.0-0" +VERSION="1.8.7" CATEGORY="development" 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.9/$TARBALL" +WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS make make DESTDIR=$PWD/_pkg install } @@ -26,17 +29,14 @@ cp -a $_pkg/usr/lib/ruby $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr - # Remove devel files and strip bin/lib - 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 devel files + rm $fs/usr/lib/ruby/1.8/i486-linux/*.h } # Remove old libs. -post_install() -{ - local root - root=$1 - rm -rf $root/usr/lib/ruby/1.8 -} +#post_install() +#{ + #local root + #root=$1 + #rm -rf $root/usr/lib/ruby/1.8 +#}