wok-current rev 5573

tcc: add cross compilers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 15 16:05:09 2010 +0200 (2010-05-15)
parents 96f8f0d779a5
children 4eb1b5a5c013
files tcc-arm/receipt tcc-c67/receipt tcc-common/receipt tcc-win32/receipt tcc-x86_64/receipt tcc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tcc-arm/receipt	Sat May 15 16:05:09 2010 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tcc-arm"
     1.7 +VERSION="0.9.25"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="fast Tiny C cross Compiler to ARM target."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://bellard.org/$PACKAGE/"
    1.12 +DEPENDS="tcc-common"
    1.13 +WANTED="tcc"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/bin
    1.19 +	cp -a $_pkg/usr/bin/arm-tcc* $fs/usr/bin
    1.20 +}
    1.21 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tcc-c67/receipt	Sat May 15 16:05:09 2010 +0200
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="tcc-c67"
     2.7 +VERSION="0.9.25"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="fast Tiny C cross Compiler to C67 target."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://bellard.org/$PACKAGE/"
    2.12 +DEPENDS="tcc-common"
    2.13 +WANTED="tcc"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/bin
    2.19 +	cp -a $_pkg/usr/bin/c67-tcc $fs/usr/bin
    2.20 +}
    2.21 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tcc-common/receipt	Sat May 15 16:05:09 2010 +0200
     3.3 @@ -0,0 +1,17 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="tcc-common"
     3.7 +VERSION="0.9.25"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="fast Tiny C Compiler, common files."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +WEB_SITE="http://bellard.org/$PACKAGE/"
    3.12 +WANTED="tcc"
    3.13 +
    3.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.15 +genpkg_rules()
    3.16 +{
    3.17 +	mkdir -p $fs/usr
    3.18 +	cp -a $_pkg/usr/lib $fs/usr
    3.19 +}
    3.20 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/tcc-win32/receipt	Sat May 15 16:05:09 2010 +0200
     4.3 @@ -0,0 +1,18 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="tcc-win32"
     4.7 +VERSION="0.9.25"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="fast Tiny C cross Compiler to win32 target."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +WEB_SITE="http://bellard.org/$PACKAGE/"
    4.12 +DEPENDS="tcc-common"
    4.13 +WANTED="tcc"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +	mkdir -p $fs/usr/bin
    4.19 +	cp -a $_pkg/usr/bin/i386-win32-tcc $fs/usr/bin
    4.20 +}
    4.21 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/tcc-x86_64/receipt	Sat May 15 16:05:09 2010 +0200
     5.3 @@ -0,0 +1,18 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="tcc-x86_64"
     5.7 +VERSION="0.9.25"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="fast Tiny C cross Compiler to x86_64 target."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +WEB_SITE="http://bellard.org/$PACKAGE/"
    5.12 +DEPENDS="tcc-common"
    5.13 +WANTED="tcc"
    5.14 +
    5.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.16 +genpkg_rules()
    5.17 +{
    5.18 +	mkdir -p $fs/usr/bin
    5.19 +	cp -a $_pkg/usr/bin/x86_64-tcc $fs/usr/bin
    5.20 +}
    5.21 +
     6.1 --- a/tcc/receipt	Fri May 14 17:36:03 2010 +0000
     6.2 +++ b/tcc/receipt	Sat May 15 16:05:09 2010 +0200
     6.3 @@ -7,6 +7,7 @@
     6.4  MAINTAINER="pascal.bellard@slitaz.org"
     6.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     6.6  WEB_SITE="http://bellard.org/$PACKAGE/"
     6.7 +DEPENDS="tcc-common"
     6.8  WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
     6.9  TAGS="compiler C"
    6.10  
    6.11 @@ -19,7 +20,7 @@
    6.12  		touch done.Makefile.u
    6.13  	fi
    6.14  	sed -i 's/cp -u/cp/' tests/Makefile
    6.15 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    6.16 +	./configure --prefix=/usr --enable-cross $CONFIGURE_ARGS &&
    6.17  	make &&
    6.18  	make test &&
    6.19  	make DESTDIR=$PWD/_pkg install
    6.20 @@ -28,7 +29,7 @@
    6.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.22  genpkg_rules()
    6.23  {
    6.24 -	mkdir -p $fs/usr
    6.25 -	cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
    6.26 +	mkdir -p $fs/usr/bin
    6.27 +	cp -a $_pkg/usr/bin/tcc $fs/usr/bin
    6.28  }
    6.29