wok-4.x view ccache/receipt @ rev 12337

Wrote the package name in TARBALL rather than using PACKAGE to replace it - Thanks dom96
author Brenton Scott <admin@trixarian.net>
date Mon Sep 24 09:08:43 2012 +0200 (2012-09-24)
parents 5efa9b629dd7
children
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 }