2012-09-30 12:12:58 +02:00
|
|
|
# Template file for 'whois'
|
|
|
|
pkgname=whois
|
|
|
|
version=5.0.19
|
2012-09-30 12:31:03 +02:00
|
|
|
revision=2
|
2012-09-30 12:12:58 +02:00
|
|
|
build_style=gnu-makefile
|
2012-09-30 12:31:03 +02:00
|
|
|
make_install_args="prefix=/usr BASEDIR=${XBPS_DESTDIR}/${pkgname}-${version}"
|
|
|
|
make_install_target="install-whois"
|
2012-09-30 12:12:58 +02:00
|
|
|
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}
|
|
|
|
|
|
|
|
}
|
|
|
|
|