wok-4.x view tcc/receipt @ rev 3913
Add: xtrkcad (4.0.3a)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Aug 17 16:40:30 2009 +0000 (2009-08-17) |
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 }