wok-6.x annotate dotconf/receipt @ rev 25159

updated pv (1.6.6 -> 1.6.20)
author Hans-G?nter Theisgen
date Thu Jun 30 17:58:13 2022 +0100 (2022-06-30)
parents d443265acbc1
children 01119cbefbc3
rev   line source
paul@4889 1 # SliTaz package receipt.
paul@4889 2
paul@4889 3 PACKAGE="dotconf"
Hans-G?nter@21938 4 VERSION="1.3"
paul@4889 5 CATEGORY="development"
paul@4889 6 SHORT_DESC="Configuration file parser library."
paul@4889 7 MAINTAINER="paul@slitaz.org"
pascal@15579 8 LICENSE="LGPL2.1"
pascal@24308 9 WEB_SITE="https://github.com/williamh/dotconf"
Hans-G?nter@21938 10
paul@4889 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21938 12 WGET_URL="$[WEB_SITE}archive/v${VERSION%}/$TARBALL"
paul@4889 13
pascal@15579 14 DEPENDS=""
pascal@23623 15 BUILD_DEPENDS="libtool"
pascal@15579 16
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@24308 20 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 22 }
pascal@24308 23
paul@4889 24 # Rules to configure and make the package.
paul@4889 25 compile_rules()
paul@4889 26 {
Hans-G?nter@21938 27 autoreconf --install &&
Hans-G?nter@21938 28 ./configure \
Hans-G?nter@21938 29 --prefix=/usr \
Hans-G?nter@21938 30 --infodir=/usr/share/info \
Hans-G?nter@21938 31 --mandir=/usr/share/man \
paul@4889 32 $CONFIGURE_ARGS &&
Hans-G?nter@21938 33 make &&
Hans-G?nter@21938 34 make DESTDIR=$DESTDIR install
paul@4889 35 }
paul@4889 36
paul@4889 37 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4889 38 genpkg_rules()
paul@4889 39 {
paul@4889 40 mkdir -p $fs/usr/lib
Hans-G?nter@21938 41
Hans-G?nter@21939 42 # cp -a $install/usr/bin $fs/usr
Hans-G?nter@21938 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21938 44 cp -a $install/usr/share $fs/usr
paul@4889 45 }