wok view ccache/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
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 }