wok annotate ypbind-mt/receipt @ rev 24924

Add as & asxxxx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 13 10:27:34 2022 +0000 (2022-04-13)
parents 86790a278e70
children e717a4953b0e
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@5681 11 WGET_URL="$WEB_SITE/$TARBALL"
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 cd $src
pascal@5681 24 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@5681 25 --mandir=/usr/share/man \
pascal@5681 26 $CONFIGURE_ARGS &&
pascal@5681 27 make &&
pascal@15362 28 make DESTDIR=$DESTDIR install
pascal@5681 29 }
pascal@5681 30
pascal@5681 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5681 32 genpkg_rules()
pascal@5681 33 {
pascal@5681 34 mkdir -p $fs/usr
pascal@15362 35 cp -a $install/usr/sbin $fs/usr
pascal@5681 36 }