wok-next annotate tcc/receipt @ rev 1454

tcc dropbear db chkrootkit: Apply patch once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 16:03:56 2008 +0000 (2008-10-03)
parents 32953ef3a7c7
children cb3974d9da27
rev   line source
pascal@769 1 # SliTaz package receipt.
pascal@769 2
pascal@769 3 PACKAGE="tcc"
pascal@769 4 VERSION="0.9.24"
pascal@769 5 CATEGORY="development"
pascal@769 6 SHORT_DESC="fast Tiny C Compiler."
pascal@769 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@769 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@769 9 WEB_SITE="http://bellard.org/$PACKAGE/"
pascal@769 10 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
pascal@769 11
pascal@769 12 # Rules to configure and make the package.
pascal@769 13 compile_rules()
pascal@769 14 {
pascal@769 15 cd $src
pascal@1454 16 if [ ! -f done.Makefile.u ]; then
pascal@1454 17 patch < ../stuff/Makefile.u || return 1
pascal@1454 18 touch done.Makefile.u
pascal@1454 19 fi
pascal@1454 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@1454 21 make &&
pascal@1454 22 make test &&
pascal@769 23 make DESTDIR=$PWD/_pkg install
pascal@769 24 }
pascal@769 25
pascal@769 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@769 27 genpkg_rules()
pascal@769 28 {
pascal@769 29 mkdir -p $fs/usr
pascal@769 30 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
pascal@769 31 }
pascal@769 32