# HG changeset patch # User Christopher Rogers # Date 1291121539 0 # Node ID 098353dab7535b190a12f372d29c13ed37ba9328 # Parent feb95a7126eadb01d221b4b9c76cf5f9bccf536f Add whois. diff -r feb95a7126ea -r 098353dab753 whois/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/whois/receipt Tue Nov 30 12:52:19 2010 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="whois" +VERSION="5.0.9" +CATEGORY="network" +SHORT_DESC="The whois client by Marco d'Itri" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libidn" +BUILD_DEPENDS="libidn-dev perl" +TARBALL="${PACKAGE}_${VERSION}.tar.gz" +WEB_SITE="http://www.linux.it/~md/software/" +WGET_URL="http://ftp.debian.org/debian/pool/main/w/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make prefix=/usr HAVE_LIBIDN=1 + make prefix=/usr BASEDIR=$PWD/_pkg install-whois +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} +