25 lines
709 B
Bash
25 lines
709 B
Bash
# Template file for 'whois'
|
|
pkgname=whois
|
|
version=5.3.0
|
|
revision=1
|
|
hostmakedepends="perl"
|
|
makedepends="libidn-devel"
|
|
short_desc="An improved whois client"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://www.linux.it/~md/software"
|
|
license="GPL-2"
|
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
|
checksum=4d789c403bfb5833c8ae168a5f31be70e34b045bd5d95a54c82a27b0ff135723
|
|
|
|
alternatives="
|
|
whois:whois:/usr/bin/gwhois
|
|
whois:whois.1:/usr/share/man/man1/gwhois.1"
|
|
|
|
do_build() {
|
|
make CC=$CC prefix=/usr HAVE_ICONV=1
|
|
}
|
|
do_install() {
|
|
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
|
mv ${DESTDIR}/usr/bin/{whois,gwhois}
|
|
mv ${DESTDIR}/usr/share/man/man1/{whois,gwhois}.1
|
|
}
|