void-packages/srcpkgs/whois/template

20 lines
544 B
Bash

# Template file for 'whois'
pkgname=whois
version=5.2.8
revision=2
build_pie=yes
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=f053ebe766f7a6f42859e6a4abd3f18741f9788aaeb1b129c3c8de95085635da
do_build() {
make CC=$CC prefix=/usr HAVE_LIBIDN=1
}
do_install() {
make prefix=/usr BASEDIR=${DESTDIR} install-whois
}