wok view tcc/receipt @ rev 5040
Update DEPENDS: midori
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 03 18:07:40 2010 +0000 (2010-03-03) |
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 }