wok-6.x view tcc/receipt @ rev 3015
Up: Xvesa and others and add xorg-server-tinyX (use server 1.5.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 22:34:28 2009 +0200 (2009-05-11) |
parents | 32953ef3a7c7 |
children | cb3974d9da27 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.24"
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 if [ ! -f done.Makefile.u ]; then
17 patch < ../stuff/Makefile.u || return 1
18 touch done.Makefile.u
19 fi
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make test &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
31 }