wok-current view tcc/receipt @ rev 1049

Add homebank (Account manager) - Office suite is complet!
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jul 12 21:48:23 2008 +0200 (2008-07-12)
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 }