void-packages/srcpkgs/whois/template

23 lines
617 B
Plaintext

# Template file for 'whois'
pkgname=whois
version=5.2.1
revision=1
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=54e6b64f16e10bfaf14ac40025b4272090298f0d9d3e62cbadabf946051515e6
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
vlicense COPYING LICENSE
}