wok view whois/receipt @ rev 25409

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