wok-stable diff tcc/receipt @ rev 1269

slitaz-boot-scripts: declare config files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 18 11:36:08 2008 +0000 (2008-08-18)
parents
children fd4eda949f1e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tcc/receipt	Mon Aug 18 11:36:08 2008 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tcc"
     1.7 +VERSION="0.9.24"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="fast Tiny C Compiler."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://bellard.org/$PACKAGE/"
    1.13 +WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	patch < ../stuff/Makefile.u || return 1
    1.20 +	./configure --prefix=/usr $CONFIGURE_ARGS
    1.21 +	make
    1.22 +	make test
    1.23 +	make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr
    1.30 +	cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
    1.31 +}
    1.32 +