wok-current view whois/receipt @ rev 24314
updated vlgothic-fonts (20141206 -> 20200720)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 22 13:28:11 2022 +0100 (2022-01-22) |
parents | 72eb5d476487 |
children | 1805f71c5d9f |
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="http://ftp.debian.org/debian/pool/main/w/$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 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 }