wok annotate libconfig/receipt @ rev 25122

Up apache (2.4.54)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 08:48:09 2022 +0000 (2022-06-28)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
pascal@13040 1 # SliTaz package receipt.
pascal@13040 2
pascal@13040 3 PACKAGE="libconfig"
Hans-G?nter@24725 4 VERSION="1.7.3"
pascal@13040 5 CATEGORY="misc"
Hans-G?nter@21156 6 SHORT_DESC="C/C++ Configuration File Library."
pascal@13040 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15472 8 LICENSE="LGPL2.1"
Hans-G?nter@21156 9 WEB_SITE="https://www.hyperrealm.com/libconfig/"
Hans-G?nter@21156 10
pascal@13040 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21156 12 WGET_URL="https://github.com/hyperrealm/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@15472 13
pascal@13040 14 DEPENDS=""
Hans-G?nter@21157 15 BUILD_DEPENDS="automake texinfo"
pascal@13040 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@13040 23 # Rules to configure and make the package.
pascal@13040 24 compile_rules()
pascal@13040 25 {
Hans-G?nter@24725 26 autoreconf &&
Hans-G?nter@21156 27 ./configure \
Hans-G?nter@21156 28 --prefix=/usr \
Hans-G?nter@21156 29 --infodir=/usr/share/info \
Hans-G?nter@21156 30 --mandir=/usr/share/man \
Hans-G?nter@21156 31 --disable-cxx \
Hans-G?nter@24725 32 --disable-doc \
Hans-G?nter@21156 33 $CONFIGURE_ARGS &&
Hans-G?nter@24725 34 make &&
Hans-G?nter@24725 35 make install DESTDIR=$DESTDIR
pascal@13040 36 }
pascal@13040 37
pascal@13040 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13040 39 genpkg_rules()
pascal@13040 40 {
Hans-G?nter@24725 41 cook_copy_files *.so*
pascal@13040 42 }