wok annotate libconfig/receipt @ rev 25747

thunar: replaced dependency libxfconf by xfconf
author Hans-G?nter Theisgen
date Sat Aug 31 09:37:15 2024 +0100 (4 months ago)
parents b6e30721444b
children 0d41479b7e7f
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@25600 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@13040 24 # Rules to configure and make the package.
pascal@13040 25 compile_rules()
pascal@13040 26 {
Hans-G?nter@24725 27 autoreconf &&
Hans-G?nter@21156 28 ./configure \
Hans-G?nter@21156 29 --prefix=/usr \
Hans-G?nter@21156 30 --infodir=/usr/share/info \
Hans-G?nter@21156 31 --mandir=/usr/share/man \
Hans-G?nter@21156 32 --disable-cxx \
Hans-G?nter@24725 33 --disable-doc \
Hans-G?nter@21156 34 $CONFIGURE_ARGS &&
Hans-G?nter@24725 35 make &&
Hans-G?nter@24725 36 make install DESTDIR=$DESTDIR
pascal@13040 37 }
pascal@13040 38
pascal@13040 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13040 40 genpkg_rules()
pascal@13040 41 {
Hans-G?nter@24725 42 cook_copy_files *.so*
pascal@13040 43 }