2012-09-30 10:12:58 +00:00
|
|
|
# Template file for 'whois'
|
|
|
|
pkgname=whois
|
2014-02-08 22:52:08 +00:00
|
|
|
version=5.1.1
|
2013-03-20 11:05:32 +00:00
|
|
|
revision=1
|
2013-04-19 15:07:59 +00:00
|
|
|
hostmakedepends="perl"
|
|
|
|
makedepends="libidn-devel"
|
|
|
|
short_desc="An improved whois client"
|
2012-09-30 10:12:58 +00:00
|
|
|
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
|
2012-09-30 10:12:58 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
# This is needed to set CFLAGS properly
|
2013-04-14 15:36:49 +00:00
|
|
|
make ${makejobs} prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1
|
2012-09-30 10:12:58 +00:00
|
|
|
}
|
|
|
|
|
2013-04-14 15:36:49 +00:00
|
|
|
do_install() {
|
|
|
|
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
2012-09-30 10:12:58 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
|
|
|
|
}
|