wok-stable annotate 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
rev   line source
erjo@4824 1 # SliTaz package receipt.
erjo@4824 2
erjo@4824 3 PACKAGE="ccache"
erjo@4824 4 VERSION="2.4"
erjo@4824 5 CATEGORY="development"
erjo@4824 6 SHORT_DESC="Compiler cache"
erjo@4824 7 MAINTAINER="erjo@slitaz.org"
erjo@4824 8 DEPENDS=""
erjo@4824 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4824 10 WEB_SITE="http://ccache.samba.org/"
erjo@4824 11 WGET_URL="http://samba.org/ftp/ccache/$TARBALL"
erjo@4824 12 SUGGESTED="gcc"
erjo@4824 13
erjo@4824 14 # Rules to configure and make the package.
erjo@4824 15 compile_rules()
erjo@4824 16 {
erjo@4824 17 cd $src
erjo@4824 18 ./configure \
erjo@4824 19 --prefix=/usr \
erjo@4824 20 --infodir=/usr/share/info \
erjo@4824 21 --mandir=/usr/share/man \
erjo@4824 22 $CONFIGURE_ARGS &&
erjo@4824 23 make && make DESTDIR=$PWD/_pkg install
erjo@4824 24 }
erjo@4824 25
erjo@4824 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4824 27 genpkg_rules()
erjo@4824 28 {
erjo@4824 29 mkdir -p $fs/usr
erjo@4824 30 cp -a $_pkg/usr/bin $fs/usr
erjo@4824 31 }
erjo@4824 32