void-packages/srcpkgs/whois/template

29 lines
884 B
Plaintext

# Template file for 'whois'
pkgname=whois
version=5.0.19
revision=2
build_style=gnu-makefile
make_install_args="prefix=/usr BASEDIR=${XBPS_DESTDIR}/${pkgname}-${version}"
make_install_target="install-whois"
makedepends="perl libidn-devel"
short_desc="The whois client by Marco d Itri"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
distfiles="http://ftp.debian.org/debian/pool/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=6fc08910aefe10c3855e12eb400e8b8d5d5c7cf174bd716baf191e3a2d25854a
long_desc="
whois is an improved whois client. It is part of Debian, Mandriva, SuSE, PLD
and other Linux distributions."
do_build() {
# This is needed to set CFLAGS properly
make ${makejobs} prefix=/usr CFLAGS="${XBPS_CFLAGS}" HAVE_LIBIDN=1
}
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}