wok diff ruby/receipt @ rev 5571

v4l-dvb: fix lsmod path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 14 21:40:50 2010 +0200 (2010-05-14)
parents 9b42152e4818
children 49e501a55595
line diff
     1.1 --- a/ruby/receipt	Thu May 06 02:11:33 2010 +0000
     1.2 +++ b/ruby/receipt	Fri May 14 21:40:50 2010 +0200
     1.3 @@ -9,18 +9,15 @@
     1.4  WEB_SITE="http://www.ruby-lang.org/"
     1.5  WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL"
     1.6  DEPENDS="libdb ncurses openssl readline zlib tk xorg-libXss gdbm"
     1.7 +BUILD_DEPENDS=" coreutils-file-output-full"
     1.8  TAGS="ruby language programming"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	cd $src
    1.14 -	patch -p1 < ../stuff/openssl-1.0.patch || return 1
    1.15 -	./configure \
    1.16 -		--prefix=/usr \
    1.17 -		--infodir=/usr/share/info \
    1.18 -		--mandir=/usr/share/man \
    1.19 -		$CONFIGURE_ARGS &&
    1.20 +	patch -Np1 < ../stuff/openssl-1.0.patch 
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS && 		 
    1.22  	make &&
    1.23  	make DESTDIR=$PWD/_pkg install
    1.24  }
    1.25 @@ -30,8 +27,6 @@
    1.26  {
    1.27  	mkdir -p $fs/usr/lib
    1.28  	cp -a $_pkg/usr/lib/ruby $fs/usr/lib
    1.29 -	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/bin $fs/usr	
    1.31  	
    1.32 -	# Remove devel files --> ruby-dev
    1.33 -	rm $fs/usr/lib/ruby/1.9.1/i486-linux/*.h
    1.34  }