wok view whois/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (24 months ago)
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 }