wok annotate dotconf/receipt @ rev 25436

Up bacon (4.5), clex (4.7), rcssmin (1.1.1), remind (04.00.03)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 16:18:16 2022 +0000 (21 months ago)
parents b569b85b0fb9
children c3e3440b68fb
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"
pascal@25436 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 }