wok-next view whois/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents 0f12e9a8ba47
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="whois"
4 VERSION="5.0.11"
5 CATEGORY="network"
6 SHORT_DESC="The whois client by Marco d'Itri"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
10 WEB_SITE="http://www.linux.it/~md/software/"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/w/$PACKAGE/$TARBALL"
13 DEPENDS="libidn"
14 BUILD_DEPENDS="libidn-dev perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make prefix=/usr HAVE_LIBIDN=1
21 make prefix=/usr BASEDIR=$DESTDIR install-whois
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }