wok-next annotate ccache/receipt @ rev 18104
Up zsh (5.0.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:13:52 2015 +0200 (2015-06-01) |
parents | f921c138b742 |
children | b9da2b1ae771 |
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" |
pascal@15579 | 8 LICENSE="GPL3" |
slaxemulator@7351 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4824 | 10 WEB_SITE="http://ccache.samba.org/" |
slaxemulator@7351 | 11 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL" |
erjo@4824 | 12 SUGGESTED="gcc" |
jozee@4933 | 13 TAGS="compiler" |
erjo@4824 | 14 |
pascal@15579 | 15 DEPENDS="zlib" |
pascal@15579 | 16 BUILD_DEPENDS="zlib-dev" |
pascal@15579 | 17 |
erjo@4824 | 18 # Rules to configure and make the package. |
erjo@4824 | 19 compile_rules() |
erjo@4824 | 20 { |
erjo@4824 | 21 cd $src |
erjo@4824 | 22 ./configure \ |
erjo@4824 | 23 --prefix=/usr \ |
erjo@4824 | 24 --infodir=/usr/share/info \ |
erjo@4824 | 25 --mandir=/usr/share/man \ |
erjo@4824 | 26 $CONFIGURE_ARGS && |
pascal@15579 | 27 make && make DESTDIR=$DESTDIR install |
erjo@4824 | 28 } |
erjo@4824 | 29 |
erjo@4824 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4824 | 31 genpkg_rules() |
erjo@4824 | 32 { |
erjo@4824 | 33 mkdir -p $fs/usr |
pascal@15579 | 34 cp -a $install/usr/bin $fs/usr |
erjo@4824 | 35 } |
erjo@4824 | 36 |