void-packages/srcpkgs/whois/template

24 lines
673 B
Plaintext

# Template file for 'whois'
pkgname=whois
version=5.0.26
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="http://ftp.debian.org/debian/pool/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=729625ef81425f4771e06492bb4f3e9f24bff75b8176044ce8d2f605f7ad6af5
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}
}