wok-current view whois/receipt @ rev 25155

updated proxytunnel (1.9.0 -> 1.10)
author Hans-G?nter Theisgen
date Thu Jun 30 15:35:33 2022 +0100 (2022-06-30)
parents 922f061231c2
children d644f4cecfbf
line source
1 # SliTaz package receipt.
3 PACKAGE="whois"
4 VERSION="5.5.6"
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://github.com/rfc1036/whois/archive/v$VERSION.tar.gz"
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 prefix=/usr BASEDIR=$DESTDIR install-whois
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }