wok-current annotate whois/receipt @ rev 10419
binutils: Replaced $BUILD_HOST with $HOST_SYSTEM.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 13:39:17 2011 +0000 (2011-05-24) |
parents | 478437ec701b |
children | 2a21689b0af7 |
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" |
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 |