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

busybox/cpio: do not link syslinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 09 08:17:02 2008 +0000 (2008-06-09)
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 }