wok-next annotate ccache/receipt @ rev 13188
Up: logrotate to 3.8.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Aug 03 10:02:57 2012 +0000 (2012-08-03) |
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 |