wok view tcc/receipt @ rev 9008
python-gazpacho: remove LOCALEDIR path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 18:20:33 2011 +0100 (2011-03-03) |
parents | 0467a03ba03f |
children | cff46a382835 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.25"
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 DEPENDS="tcc-common"
11 BUILD_DEPENDS="perl"
12 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
13 TAGS="compiler C"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 if [ ! -f done.Makefile.u ]; then
20 patch < $stuff/Makefile.u || return 1
21 touch done.Makefile.u
22 fi
23 sed -i 's/cp -u/cp/' tests/Makefile
24 ./configure --prefix=/usr --enable-cross $CONFIGURE_ARGS &&
25 make &&
26 make test &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $_pkg/usr/bin/tcc $fs/usr/bin
35 }