wok annotate libconfuse/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
mallory@2718 1 # SliTaz package receipt.
mallory@2718 2
mallory@2718 3 PACKAGE="libconfuse"
Hans-G?nter@24726 4 VERSION="3.3"
mallory@2718 5 CATEGORY="misc"
mallory@2718 6 SHORT_DESC="Configuration file parser library."
mallory@2718 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15472 8 LICENSE="ISC"
Hans-G?nter@24726 9 WEB_SITE="https://github.com/libconfuse/libconfuse"
Hans-G?nter@21163 10
Hans-G?nter@21163 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21163 12 WGET_URL="https://github.com/martinh/$PACKAGE/archive/v$VERSION.tar.gz"
mallory@2718 13
pascal@15472 14 DEPENDS=""
Hans-G?nter@21164 15 BUILD_DEPENDS="automake libtool"
pascal@15472 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
mallory@2718 23 # Rules to configure and make the package.
mallory@2718 24 compile_rules()
mallory@2718 25 {
Hans-G?nter@21163 26 ./autogen.sh &&
Hans-G?nter@21163 27 ./configure \
Hans-G?nter@21163 28 --prefix=/usr \
Hans-G?nter@21163 29 --infodir=/usr/share/info \
Hans-G?nter@21163 30 --mandir=/usr/share/man \
pascal@4296 31 $CONFIGURE_ARGS
Hans-G?nter@21163 32
pascal@4296 33 sed -i 's/ -Werror//' src/Makefile
Hans-G?nter@21163 34
Hans-G?nter@24726 35 make &&
Hans-G?nter@24726 36 make install DESTDIR=$DESTDIR
mallory@2718 37 }
mallory@2718 38
mallory@2718 39 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2718 40 genpkg_rules()
mallory@2718 41 {
Hans-G?nter@24726 42 get_dev_files
mallory@2718 43 }