wok-4.x view tcc/receipt @ rev 7604

mirror-tools: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 11 13:26:47 2010 +0100 (2010-12-11)
parents 866fa2493b1b
children 0467a03ba03f
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 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
12 TAGS="compiler C"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 if [ ! -f done.Makefile.u ]; then
19 patch < ../stuff/Makefile.u || return 1
20 touch done.Makefile.u
21 fi
22 sed -i 's/cp -u/cp/' tests/Makefile
23 ./configure --prefix=/usr --enable-cross $CONFIGURE_ARGS &&
24 make &&
25 make test &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $_pkg/usr/bin/tcc $fs/usr/bin
34 }