wok annotate ccache/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 1e19188eb149
children cba18b5ddbbb
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
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
erjo@4824 25 # Rules to configure and make the package.
erjo@4824 26 compile_rules()
erjo@4824 27 {
Hans-G?nter@22585 28 ./configure \
Hans-G?nter@22585 29 --prefix=/usr \
Hans-G?nter@22585 30 --infodir=/usr/share/info \
Hans-G?nter@22585 31 --mandir=/usr/share/man \
erjo@4824 32 $CONFIGURE_ARGS &&
Hans-G?nter@20768 33 make &&
Hans-G?nter@20768 34 make DESTDIR=$DESTDIR install
erjo@4824 35 }
erjo@4824 36
erjo@4824 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4824 38 genpkg_rules()
erjo@4824 39 {
erjo@4824 40 mkdir -p $fs/usr
Hans-G?nter@22585 41 cp -a $install/usr/bin $fs/usr
erjo@4824 42 }