wok annotate ypbind-mt/receipt @ rev 25040

cups-filters: use standard c++14
author Hans-G?nter Theisgen
date Fri May 27 07:47:27 2022 +0100 (2022-05-27)
parents 922f061231c2
children 0262035dc1e7
rev   line source
pascal@5681 1 # SliTaz package receipt.
pascal@5681 2
pascal@5681 3 PACKAGE="ypbind-mt"
pascal@5681 4 VERSION="1.31"
pascal@5681 5 CATEGORY="network"
pascal@5681 6 SHORT_DESC="Yellow pages client daemon"
pascal@5681 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
pascal@5681 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20421 10 WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/"
pascal@24975 11 WGET_URL="https://github.com/thkukuk/ypbind-mt/archive/refs/tags/ypbind-mt-${VERSION/./_}.tar.gz"
pascal@5681 12
pascal@24304 13 # What is the latest version available today?
pascal@24304 14 current_version()
pascal@24304 15 {
pascal@24304 16 wget -O - https://github.com/thkukuk/ypbind-mt/releases 2>/dev/null | \
pascal@24304 17 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24304 18 }
pascal@24304 19
pascal@5681 20 # Rules to configure and make the package.
pascal@5681 21 compile_rules()
pascal@5681 22 {
pascal@5681 23 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@5681 24 --mandir=/usr/share/man \
pascal@5681 25 $CONFIGURE_ARGS &&
pascal@5681 26 make &&
pascal@15362 27 make DESTDIR=$DESTDIR install
pascal@5681 28 }
pascal@5681 29
pascal@5681 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5681 31 genpkg_rules()
pascal@5681 32 {
pascal@5681 33 mkdir -p $fs/usr
pascal@15362 34 cp -a $install/usr/sbin $fs/usr
pascal@5681 35 }