2012-09-30 10:12:58 +00:00
|
|
|
# Template file for 'whois'
|
|
|
|
pkgname=whois
|
2013-03-20 11:05:32 +00:00
|
|
|
version=5.0.20
|
|
|
|
revision=1
|
2012-09-30 10:12:58 +00:00
|
|
|
build_style=gnu-makefile
|
2012-09-30 10:31:03 +00:00
|
|
|
make_install_args="prefix=/usr BASEDIR=${XBPS_DESTDIR}/${pkgname}-${version}"
|
|
|
|
make_install_target="install-whois"
|
2012-09-30 10:12:58 +00: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"
|
2013-03-20 11:05:32 +00:00
|
|
|
checksum=818332954643626b8a44670746185cf7fc7a862195b46c01e10df1c3f82d8ecf
|
2012-09-30 10:12:58 +00:00
|
|
|
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}
|
|
|
|
|
|
|
|
}
|
|
|
|
|