void-packages/srcpkgs/whois/template

23 lines
617 B
Text
Raw Normal View History

# Template file for 'whois'
pkgname=whois
2014-09-06 19:10:31 +00:00
version=5.1.5
revision=1
2013-04-19 15:07:59 +00:00
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
2014-05-08 16:28:35 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
2014-02-08 22:52:08 +00:00
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
2014-09-06 19:10:31 +00:00
checksum=d4a192d6208f1ed3856b5089e2de5fc986031c96148b97c9ef43af7a21af1a9d
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
2014-09-06 19:10:31 +00:00
vlicense COPYING LICENSE
}