wok-next rev 883

Up: ruby (1.8.7) -Back to a stable release
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 07 11:10:44 2008 +0200 (2008-06-07)
parents 29d6ffb622ab
children 6c4a9dddac48
files ruby/receipt
line diff
     1.1 --- a/ruby/receipt	Sat Jun 07 11:09:33 2008 +0200
     1.2 +++ b/ruby/receipt	Sat Jun 07 11:10:44 2008 +0200
     1.3 @@ -1,20 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ruby"
     1.7 -VERSION="1.9.0-0"
     1.8 +VERSION="1.8.7"
     1.9  CATEGORY="development"
    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.9/$TARBALL"
    1.15 +WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--infodir=/usr/share/info \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		$CONFIGURE_ARGS
    1.28  	make
    1.29  	make DESTDIR=$PWD/_pkg install
    1.30  }
    1.31 @@ -26,17 +29,14 @@
    1.32  	cp -a $_pkg/usr/lib/ruby $fs/usr/lib
    1.33  	cp -a $_pkg/usr/bin $fs/usr
    1.34  	
    1.35 -	# Remove devel files and strip bin/lib
    1.36 -	rm $fs/usr/lib/ruby/1.9/i486-linux/*.h
    1.37 -	strip --strip-unneeded $fs/usr/lib/ruby/1.9/i486-linux/*.so
    1.38 -	strip --strip-unneeded $fs/usr/lib/ruby/1.9/i486-linux/*/*.so
    1.39 -	strip -s $fs/usr/bin/ruby
    1.40 +	# Remove devel files
    1.41 +	rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
    1.42  }
    1.43  
    1.44  # Remove old libs.
    1.45 -post_install()
    1.46 -{
    1.47 -	local root
    1.48 -	root=$1
    1.49 -	rm -rf  $root/usr/lib/ruby/1.8
    1.50 -}
    1.51 +#post_install()
    1.52 +#{
    1.53 +	#local root
    1.54 +	#root=$1
    1.55 +	#rm -rf  $root/usr/lib/ruby/1.8
    1.56 +#}