wok annotate ccache/receipt @ rev 15625

nut: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 16:00:02 2013 +0000 (2013-12-08)
parents f921c138b742
children a78610b2eb47
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