void-packages/srcpkgs/whois/template

24 lines
653 B
Text
Raw Normal View History

# Template file for 'whois'
pkgname=whois
2014-02-08 22:52:08 +00:00
version=5.1.1
revision=1
2013-04-19 15:07:59 +00:00
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
maintainer="davehome <davehome@redthumb.info.tm>"
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"
checksum=69fb4c3d964603967d18b931c2275e678eed5c33af0a74c41198e1b46a520644
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}
}