wok-6.x view tcc/receipt @ rev 1191
Add clean_wok rules in db.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Aug 05 00:37:08 2008 +0200 (2008-08-05) |
parents | |
children | fd4eda949f1e |
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 patch < ../stuff/Makefile.u || return 1
17 ./configure --prefix=/usr $CONFIGURE_ARGS
18 make
19 make test
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
28 }