2012-09-30 12:12:58 +02:00
|
|
|
# Template file for 'whois'
|
|
|
|
pkgname=whois
|
2014-09-06 21:10:31 +02:00
|
|
|
version=5.1.5
|
2013-03-20 12:05:32 +01:00
|
|
|
revision=1
|
2013-04-19 17:07:59 +02:00
|
|
|
hostmakedepends="perl"
|
|
|
|
makedepends="libidn-devel"
|
|
|
|
short_desc="An improved whois client"
|
2014-05-08 18:28:35 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-30 12:12:58 +02:00
|
|
|
homepage="http://www.linux.it/~md/software"
|
|
|
|
license="GPL-2"
|
2014-02-08 23:52:08 +01:00
|
|
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
2014-09-06 21:10:31 +02:00
|
|
|
checksum=d4a192d6208f1ed3856b5089e2de5fc986031c96148b97c9ef43af7a21af1a9d
|
2012-09-30 12:12:58 +02:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
# This is needed to set CFLAGS properly
|
2013-04-14 17:36:49 +02:00
|
|
|
make ${makejobs} prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1
|
2012-09-30 12:12:58 +02:00
|
|
|
}
|
|
|
|
|
2013-04-14 17:36:49 +02:00
|
|
|
do_install() {
|
|
|
|
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
2014-09-06 21:10:31 +02:00
|
|
|
vlicense COPYING LICENSE
|
2012-09-30 12:12:58 +02:00
|
|
|
}
|