wok-current rev 9896

ruby-entreprise: fix receipt (i hope)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 11:39:27 2011 +0200 (2011-05-17)
parents 9911fd0d3a4d
children a2497934f8b6
files ruby-enterprise/receipt
line diff
     1.1 --- a/ruby-enterprise/receipt	Tue May 17 11:31:59 2011 +0200
     1.2 +++ b/ruby-enterprise/receipt	Tue May 17 11:39:27 2011 +0200
     1.3 @@ -18,21 +18,15 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src/source
     1.7 -	./configure \
     1.8 -		--prefix=/usr \
     1.9 -		--infodir=/usr/share/info \
    1.10 -		--mandir=/usr/share/man \
    1.11 -		$CONFIGURE_ARGS &&
    1.12 -	make &&
    1.13 -	make DESTDIR=$PWD/_pkg install
    1.14 +	./configure && make && make install
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/lib
    1.21 -	cp -a $src/source/_pkg/usr/lib/ruby $fs/usr/lib
    1.22 -	cp -a $src/source/_pkg/usr/bin $fs/usr
    1.23 +	cp -a $install/usr/lib/ruby $fs/usr/lib
    1.24 +	cp -a $install/usr/bin $fs/usr
    1.25  	
    1.26  	# Remove devel files --> ruby-enterprise-dev
    1.27  	rm $fs/usr/lib/ruby/1.8/i486-linux/*.h