wok-current annotate ccache/receipt @ rev 20747
Up par2 (0.8.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 10 12:08:41 2019 +0100 (2019-02-10) |
parents | eb8067417980 |
children | 587b2a6d17d7 |
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" |
pascal@20669 | 10 WEB_SITE="https://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 |