wok annotate ccache/receipt @ rev 23906
Add fstransform
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 03 14:59:04 2020 +0000 (2020-08-03) |
parents | 587b2a6d17d7 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
erjo@4824 | 1 # SliTaz package receipt. |
erjo@4824 | 2 |
erjo@4824 | 3 PACKAGE="ccache" |
Hans-G?nter@22585 | 4 VERSION="3.7.7" |
erjo@4824 | 5 CATEGORY="development" |
Hans-G?nter@20768 | 6 TAGS="compiler" |
Hans-G?nter@22585 | 7 SHORT_DESC="Compiler cache." |
erjo@4824 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL3" |
pascal@20669 | 10 WEB_SITE="https://ccache.samba.org/" |
Hans-G?nter@20768 | 11 |
Hans-G?nter@20768 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22585 | 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
erjo@4824 | 14 |
Hans-G?nter@22585 | 15 SUGGESTED="gcc" |
pascal@15579 | 16 DEPENDS="zlib" |
pascal@15579 | 17 BUILD_DEPENDS="zlib-dev" |
pascal@15579 | 18 |
erjo@4824 | 19 # Rules to configure and make the package. |
erjo@4824 | 20 compile_rules() |
erjo@4824 | 21 { |
Hans-G?nter@22585 | 22 ./configure \ |
Hans-G?nter@22585 | 23 --prefix=/usr \ |
Hans-G?nter@22585 | 24 --infodir=/usr/share/info \ |
Hans-G?nter@22585 | 25 --mandir=/usr/share/man \ |
erjo@4824 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@20768 | 27 make && |
Hans-G?nter@20768 | 28 make DESTDIR=$DESTDIR install |
erjo@4824 | 29 } |
erjo@4824 | 30 |
erjo@4824 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4824 | 32 genpkg_rules() |
erjo@4824 | 33 { |
erjo@4824 | 34 mkdir -p $fs/usr |
Hans-G?nter@22585 | 35 cp -a $install/usr/bin $fs/usr |
erjo@4824 | 36 } |