wok-next view tcc/receipt @ rev 5443

avidemux: compile_rules busybox compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 10:58:19 2010 +0200 (2010-05-05)
parents cb3974d9da27
children 2f9a90706449
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.25"
5 CATEGORY="development"
6 SHORT_DESC="fast Tiny C Compiler."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://bellard.org/$PACKAGE/"
10 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
11 TAGS="compiler C"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 if [ ! -f done.Makefile.u ]; then
18 patch < ../stuff/Makefile.u || return 1
19 touch done.Makefile.u
20 fi
21 sed -i 's/cp -u/cp/' tests/Makefile
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make test &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
33 }