wok annotate whois/receipt @ rev 20603

Update iptraf & gcc3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 12:19:32 2018 +0100 (2018-12-17)
parents 0f12e9a8ba47
children 31b94fb7134b
rev   line source
slaxemulator@7454 1 # SliTaz package receipt.
slaxemulator@7454 2
slaxemulator@7454 3 PACKAGE="whois"
slaxemulator@8410 4 VERSION="5.0.11"
slaxemulator@7454 5 CATEGORY="network"
slaxemulator@7454 6 SHORT_DESC="The whois client by Marco d'Itri"
slaxemulator@7454 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15363 8 LICENSE="GPL2"
slaxemulator@7454 9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
slaxemulator@7454 10 WEB_SITE="http://www.linux.it/~md/software/"
slaxemulator@7454 11 WGET_URL="http://ftp.debian.org/debian/pool/main/w/$PACKAGE/$TARBALL"
slaxemulator@7454 12
pascal@15363 13 DEPENDS="libidn"
pascal@15363 14 BUILD_DEPENDS="libidn-dev perl"
pascal@15363 15
slaxemulator@7454 16 # Rules to configure and make the package.
slaxemulator@7454 17 compile_rules()
slaxemulator@7454 18 {
slaxemulator@7454 19 cd $src
slaxemulator@7454 20 make prefix=/usr HAVE_LIBIDN=1
pascal@15363 21 make prefix=/usr BASEDIR=$DESTDIR install-whois
slaxemulator@7454 22 }
slaxemulator@7454 23
slaxemulator@7454 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7454 25 genpkg_rules()
slaxemulator@7454 26 {
slaxemulator@7454 27 mkdir -p $fs/usr
pascal@15363 28 cp -a $install/usr/bin $fs/usr
slaxemulator@7454 29 }
slaxemulator@7454 30