wok-6.x view tcc/receipt @ rev 5070
update DEPENDS: xorg-xf86-video-nv
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Mar 12 11:29:21 2010 +0000 (2010-03-12) |
parents | cb3974d9da27 |
children | 2f9a90706449 |
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 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
11 TAGS="compiler C"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 if [ ! -f done.Makefile.u ]; then
18 patch < ../stuff/Makefile.u || return 1
19 touch done.Makefile.u
20 fi
21 sed -i 's/cp -u/cp/' tests/Makefile
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make test &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
33 }