void-packages/srcpkgs/whois/template

23 lines
643 B
Plaintext
Raw Normal View History

# Template file for 'whois'
pkgname=whois
2014-05-08 18:28:35 +02:00
version=5.1.2
revision=1
2013-04-19 17:07:59 +02:00
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
2014-05-08 18:28:35 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
2014-02-08 23:52:08 +01:00
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
2014-05-08 18:28:35 +02:00
checksum=021f76910e772fa569e299210b36e2eeb20b56dc9ca29edb7e83a21b560a5403
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}
}