void-packages/srcpkgs/whois/template
2015-07-30 06:21:46 +02:00

20 lines
545 B
Bash

# Template file for 'whois'
pkgname=whois
version=5.2.10
revision=1
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=8acb42bc693f73f3141b413f7df11b5582b9b738d9bf0d60e9017a8af4cb53b9
do_build() {
make CC=$CC prefix=/usr HAVE_LIBIDN=1
}
do_install() {
make prefix=/usr BASEDIR=${DESTDIR} install-whois
}