void-packages/srcpkgs/whois/template

30 lines
726 B
Text
Raw Normal View History

# Template file for 'whois'
pkgname=whois
2013-04-19 15:07:59 +00:00
version=5.0.24
revision=1
2013-04-19 15:07:59 +00:00
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
distfiles="http://ftp.debian.org/debian/pool/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
2013-04-19 15:07:59 +00:00
checksum=c61435fef8e2bb1158846b6c1bd72cf5ed29a474c1e27cd35cf0574b40bd0bf5
do_build() {
# This is needed to set CFLAGS properly
make ${makejobs} prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1
}
do_install() {
make prefix=/usr BASEDIR=${DESTDIR} install-whois
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
whois_package() {
pkg_install() {
2013-04-19 15:07:59 +00:00
vmove all
}
}