wok-6.x annotate whois/receipt @ rev 24729

updated libdnet and libdnet-dev (1.12 -> 1.14)
author Hans-G?nter Theisgen
date Tue Mar 15 16:28:57 2022 +0100 (2022-03-15)
parents 72eb5d476487
children 1805f71c5d9f
rev   line source
slaxemulator@7454 1 # SliTaz package receipt.
slaxemulator@7454 2
slaxemulator@7454 3 PACKAGE="whois"
Hans-G?nter@23732 4 VERSION="5.5.6"
slaxemulator@7454 5 CATEGORY="network"
Hans-G?nter@22128 6 SHORT_DESC="The whois client by Marco d'Itri."
slaxemulator@7454 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15363 8 LICENSE="GPL2"
Hans-G?nter@22128 9 WEB_SITE="https://www.linux.it/~md/software/"
Hans-G?nter@22128 10
Hans-G?nter@22128 11 TARBALL="${PACKAGE}_${VERSION}.tar.xz"
slaxemulator@7454 12 WGET_URL="http://ftp.debian.org/debian/pool/main/w/$PACKAGE/$TARBALL"
slaxemulator@7454 13
pascal@15363 14 DEPENDS="libidn"
pascal@15363 15 BUILD_DEPENDS="libidn-dev perl"
pascal@15363 16
pascal@24304 17 # What is the latest version available today?
pascal@24304 18 current_version()
pascal@24304 19 {
pascal@24304 20 wget -O - https://github.com/rfc1036/whois/tags 2>/dev/null | \
pascal@24304 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24304 22 }
pascal@24304 23
slaxemulator@7454 24 # Rules to configure and make the package.
slaxemulator@7454 25 compile_rules()
slaxemulator@7454 26 {
Hans-G?nter@23732 27 make prefix=/usr &&
pascal@15363 28 make prefix=/usr BASEDIR=$DESTDIR install-whois
slaxemulator@7454 29 }
slaxemulator@7454 30
slaxemulator@7454 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7454 32 genpkg_rules()
slaxemulator@7454 33 {
slaxemulator@7454 34 mkdir -p $fs/usr
Hans-G?nter@23732 35 cp -a $install/usr/bin $fs/usr
slaxemulator@7454 36 }