wok-current view tcc/receipt @ rev 805
Up: slitaz-tools (2.4) - Tazdialog, misc fixes, netbox icon...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 16 01:02:11 2008 +0200 (2008-05-16) |
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 }