void-packages/srcpkgs/whois/template
2014-02-08 23:52:08 +01:00

24 lines
653 B
Plaintext

# Template file for 'whois'
pkgname=whois
version=5.1.1
revision=1
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="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=69fb4c3d964603967d18b931c2275e678eed5c33af0a74c41198e1b46a520644
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}
}