2012-09-30 12:12:58 +02:00
|
|
|
# Template file for 'whois'
|
|
|
|
pkgname=whois
|
2013-07-30 22:07:36 +02:00
|
|
|
version=5.0.26
|
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"
|
2012-09-30 12:12:58 +02:00
|
|
|
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-07-30 22:07:36 +02:00
|
|
|
checksum=729625ef81425f4771e06492bb4f3e9f24bff75b8176044ce8d2f605f7ad6af5
|
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
|
2012-09-30 12:12:58 +02:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-04-14 17:36:49 +02:00
|
|
|
whois_package() {
|
|
|
|
pkg_install() {
|
2013-04-19 17:07:59 +02:00
|
|
|
vmove all
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|