wok-6.x diff tcc/receipt @ rev 7253

Up: xorg-xproto to 7.0.19.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 15:46:16 2010 +0000 (2010-11-14)
parents 866fa2493b1b
children 0467a03ba03f
line diff
     1.1 --- a/tcc/receipt	Wed Feb 24 12:13:18 2010 +0000
     1.2 +++ b/tcc/receipt	Sun Nov 14 15:46:16 2010 +0000
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WEB_SITE="http://bellard.org/$PACKAGE/"
     1.7 +DEPENDS="tcc-common"
     1.8  WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
     1.9  TAGS="compiler C"
    1.10  
    1.11 @@ -19,7 +20,7 @@
    1.12  		touch done.Makefile.u
    1.13  	fi
    1.14  	sed -i 's/cp -u/cp/' tests/Makefile
    1.15 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.16 +	./configure --prefix=/usr --enable-cross $CONFIGURE_ARGS &&
    1.17  	make &&
    1.18  	make test &&
    1.19  	make DESTDIR=$PWD/_pkg install
    1.20 @@ -28,7 +29,7 @@
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr
    1.25 -	cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
    1.26 +	mkdir -p $fs/usr/bin
    1.27 +	cp -a $_pkg/usr/bin/tcc $fs/usr/bin
    1.28  }
    1.29