wok-6.x view tcc/receipt @ rev 2535

Add dropbox (Online file storage tool) - Yes I know wok is freez...
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 22 01:21:14 2009 +0100 (2009-03-22)
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 }