23 lines
621 B
Bash
23 lines
621 B
Bash
# Template file for 'whois'
|
|
pkgname=whois
|
|
version=5.2.8
|
|
revision=1
|
|
build_pie=yes
|
|
hostmakedepends="perl"
|
|
makedepends="libidn-devel"
|
|
short_desc="An improved whois client"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.linux.it/~md/software"
|
|
license="GPL-2"
|
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
|
checksum=f053ebe766f7a6f42859e6a4abd3f18741f9788aaeb1b129c3c8de95085635da
|
|
|
|
do_build() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) LIBS="-lintl";;
|
|
esac
|
|
make CC=$CC prefix=/usr HAVE_LIBIDN=1 LIBS="$LIBS"
|
|
}
|
|
do_install() {
|
|
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
|
}
|