27 lines
744 B
Bash
27 lines
744 B
Bash
# Template file for 'whois'
|
|
pkgname=whois
|
|
version=5.5.1
|
|
revision=1
|
|
wrksrc=whois
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="libidn2-devel"
|
|
short_desc="Improved whois client"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.linux.it/~md/software"
|
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
|
checksum=ee8d802f2e6639d44db3c326f3f5e059a8571a8cd0da87e60c6ddb06713cac82
|
|
|
|
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
|
|
}
|