wok-current annotate ccache/receipt @ rev 7983
Merge
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 17 18:46:01 2011 +0100 (2011-01-17) |
parents | 5efa9b629dd7 |
children | eb8067417980 |
rev | line source |
---|---|
erjo@4824 | 1 # SliTaz package receipt. |
erjo@4824 | 2 |
erjo@4824 | 3 PACKAGE="ccache" |
slaxemulator@7436 | 4 VERSION="3.1.3" |
erjo@4824 | 5 CATEGORY="development" |
erjo@4824 | 6 SHORT_DESC="Compiler cache" |
erjo@4824 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@7199 | 8 DEPENDS="zlib" |
slaxemulator@7199 | 9 BUILD_DEPENDS="zlib-dev" |
slaxemulator@7351 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4824 | 11 WEB_SITE="http://ccache.samba.org/" |
slaxemulator@7351 | 12 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL" |
erjo@4824 | 13 SUGGESTED="gcc" |
jozee@4933 | 14 TAGS="compiler" |
erjo@4824 | 15 |
erjo@4824 | 16 # Rules to configure and make the package. |
erjo@4824 | 17 compile_rules() |
erjo@4824 | 18 { |
erjo@4824 | 19 cd $src |
erjo@4824 | 20 ./configure \ |
erjo@4824 | 21 --prefix=/usr \ |
erjo@4824 | 22 --infodir=/usr/share/info \ |
erjo@4824 | 23 --mandir=/usr/share/man \ |
erjo@4824 | 24 $CONFIGURE_ARGS && |
erjo@4824 | 25 make && make DESTDIR=$PWD/_pkg install |
erjo@4824 | 26 } |
erjo@4824 | 27 |
erjo@4824 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4824 | 29 genpkg_rules() |
erjo@4824 | 30 { |
erjo@4824 | 31 mkdir -p $fs/usr |
erjo@4824 | 32 cp -a $_pkg/usr/bin $fs/usr |
erjo@4824 | 33 } |
erjo@4824 | 34 |