wok-6.x annotate libconfuse/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 632bede32429
children 798acb92d4d5
rev   line source
mallory@2718 1 # SliTaz package receipt.
mallory@2718 2
mallory@2718 3 PACKAGE="libconfuse"
Hans-G?nter@21163 4 VERSION="3.2.2"
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"
mallory@2718 9 WEB_SITE="http://www.nongnu.org/confuse/"
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@21163 35 make -j 1 &&
Hans-G?nter@21163 36 make DESTDIR=$DESTDIR install
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 {
mallory@2718 42 mkdir -p $fs/usr/lib
Hans-G?nter@21163 43
Hans-G?nter@21163 44 cp -a $install/usr/include $fs/usr
Hans-G?nter@21163 45 cp -a $install/usr/lib/*.*a $fs/usr/lib
Hans-G?nter@21163 46 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
mallory@2718 47 }