wok-current view whois/receipt @ rev 25527
created recipes for libmpack and libmpack-dev 1.0.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:28:19 2023 +0100 (21 months ago) |
parents | d644f4cecfbf |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="whois"
4 VERSION="5.5.14"
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.gz"
12 WGET_URL="https://github.com/rfc1036/whois/archive/refs/tags/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 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 }