wok annotate gengetopt/receipt @ rev 24952

nagios-plugins: new patch
author Hans-G?nter Theisgen
date Sat Apr 23 14:39:05 2022 +0100 (2022-04-23)
parents dd8bca24b693
children
rev   line source
pascal@24605 1 # SliTaz package receipt.
pascal@24605 2
pascal@24605 3 PACKAGE="gengetopt"
pascal@24605 4 VERSION="2.23"
pascal@24605 5 CATEGORY="development"
pascal@24605 6 SHORT_DESC="A tool to write command line option parsing code for C programs"
pascal@24605 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24605 8 LICENSE="GPL3"
pascal@24605 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@24605 10 WEB_SITE="http://www.gnu.org/software/gengetopt/gengetopt.html"
pascal@24605 11 WGET_URL="https://ftp.gnu.org/gnu/gengetopt/gengetopt-$VERSION.tar.xz"
pascal@24605 12
pascal@24605 13 DEPENDS="gcc-lib-base"
pascal@24606 14 BUILD_DEPENDS="flex texinfo"
pascal@24605 15
pascal@24605 16 # What is the latest version available today?
pascal@24605 17 current_version()
pascal@24605 18 {
pascal@24605 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24605 20 sed '/gengetopt-/!d;s|.*gengetopt-||;s|.t.*||' | sort -Vr | sed q
pascal@24605 21 }
pascal@24605 22
pascal@24605 23 # Rules to configure and make the package.
pascal@24605 24 compile_rules()
pascal@24605 25 {
pascal@24605 26 ./configure --prefix=/usr \
pascal@24605 27 $CONFIGURE_ARGS &&
pascal@24605 28 make &&
pascal@24605 29 make DESTDIR=$DESTDIR install
pascal@24605 30 }
pascal@24605 31
pascal@24605 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24605 33 genpkg_rules()
pascal@24605 34 {
pascal@24605 35 cp -a $install/* $fs/
pascal@24605 36 }