wok annotate ccache/receipt @ rev 5691

linux: add missing patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 05 13:07:53 2010 +0200 (2010-06-05)
parents feae50930315
children 6a575e39c77d
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"
jozee@4933 13 TAGS="compiler"
erjo@4824 14
erjo@4824 15 # Rules to configure and make the package.
erjo@4824 16 compile_rules()
erjo@4824 17 {
erjo@4824 18 cd $src
erjo@4824 19 ./configure \
erjo@4824 20 --prefix=/usr \
erjo@4824 21 --infodir=/usr/share/info \
erjo@4824 22 --mandir=/usr/share/man \
erjo@4824 23 $CONFIGURE_ARGS &&
erjo@4824 24 make && make DESTDIR=$PWD/_pkg install
erjo@4824 25 }
erjo@4824 26
erjo@4824 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4824 28 genpkg_rules()
erjo@4824 29 {
erjo@4824 30 mkdir -p $fs/usr
erjo@4824 31 cp -a $_pkg/usr/bin $fs/usr
erjo@4824 32 }
erjo@4824 33