wok view ccache/receipt @ rev 4824

Add: ccache, a compiler cache.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 21 00:26:18 2010 +0100 (2010-01-21)
parents
children f7e96b8e3444
line source
1 # SliTaz package receipt.
3 PACKAGE="ccache"
4 VERSION="2.4"
5 CATEGORY="development"
6 SHORT_DESC="Compiler cache"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ccache.samba.org/"
11 WGET_URL="http://samba.org/ftp/ccache/$TARBALL"
12 SUGGESTED="gcc"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }