wok-current rev 2472

Add ruby-dev
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 15 19:57:20 2009 +0100 (2009-03-15)
parents 8d9432d219ab
children 9a057b31dba5
files ruby-dev/receipt ruby/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ruby-dev/receipt	Sun Mar 15 19:57:20 2009 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ruby-dev"
     1.7 +VERSION="1.8.7"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Devel file for Ruby (to compile ruby-modules)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://www.ruby-lang.org/"
    1.12 +WANTED="ruby"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/ruby/1.8/i486-linux
    1.18 +	cp -a $_pkg/usr/lib/*.a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/ruby/1.8/i486-linux/*.h \
    1.20 +		$fs/usr/lib/ruby/1.8/i486-linux
    1.21 +}
     2.1 --- a/ruby/receipt	Sun Mar 15 19:54:47 2009 +0100
     2.2 +++ b/ruby/receipt	Sun Mar 15 19:57:20 2009 +0100
     2.3 @@ -30,14 +30,6 @@
     2.4  	cp -a $_pkg/usr/lib/ruby $fs/usr/lib
     2.5  	cp -a $_pkg/usr/bin $fs/usr
     2.6  	
     2.7 -	# Remove devel files
     2.8 +	# Remove devel files --> ruby-dev
     2.9  	rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
    2.10  }
    2.11 -
    2.12 -# Remove old libs.
    2.13 -#post_install()
    2.14 -#{
    2.15 -	#local root
    2.16 -	#root=$1
    2.17 -	#rm -rf  $root/usr/lib/ruby/1.8
    2.18 -#}