wok annotate whois/receipt @ rev 7454
Add whois.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 30 12:52:19 2010 +0000 (2010-11-30) |
parents | |
children | 478437ec701b |
rev | line source |
---|---|
slaxemulator@7454 | 1 # SliTaz package receipt. |
slaxemulator@7454 | 2 |
slaxemulator@7454 | 3 PACKAGE="whois" |
slaxemulator@7454 | 4 VERSION="5.0.9" |
slaxemulator@7454 | 5 CATEGORY="network" |
slaxemulator@7454 | 6 SHORT_DESC="The whois client by Marco d'Itri" |
slaxemulator@7454 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7454 | 8 DEPENDS="libidn" |
slaxemulator@7454 | 9 BUILD_DEPENDS="libidn-dev perl" |
slaxemulator@7454 | 10 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
slaxemulator@7454 | 11 WEB_SITE="http://www.linux.it/~md/software/" |
slaxemulator@7454 | 12 WGET_URL="http://ftp.debian.org/debian/pool/main/w/$PACKAGE/$TARBALL" |
slaxemulator@7454 | 13 |
slaxemulator@7454 | 14 # Rules to configure and make the package. |
slaxemulator@7454 | 15 compile_rules() |
slaxemulator@7454 | 16 { |
slaxemulator@7454 | 17 cd $src |
slaxemulator@7454 | 18 make prefix=/usr HAVE_LIBIDN=1 |
slaxemulator@7454 | 19 make prefix=/usr BASEDIR=$PWD/_pkg install-whois |
slaxemulator@7454 | 20 } |
slaxemulator@7454 | 21 |
slaxemulator@7454 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7454 | 23 genpkg_rules() |
slaxemulator@7454 | 24 { |
slaxemulator@7454 | 25 mkdir -p $fs/usr |
slaxemulator@7454 | 26 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7454 | 27 } |
slaxemulator@7454 | 28 |