wok-next view ccache/receipt @ rev 8161

imported patch commit_inprogress/flex.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents 5efa9b629dd7
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="ccache"
4 VERSION="3.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Compiler cache"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="zlib"
9 BUILD_DEPENDS="zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://ccache.samba.org/"
12 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
13 SUGGESTED="gcc"
14 TAGS="compiler"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && 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 $fs/usr
33 }