mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
whois: update to 5.5.12.
This commit is contained in:
parent
8d3e827230
commit
f192fcb305
1 changed files with 7 additions and 8 deletions
|
@ -1,8 +1,12 @@
|
||||||
# Template file for 'whois'
|
# Template file for 'whois'
|
||||||
pkgname=whois
|
pkgname=whois
|
||||||
version=5.5.11
|
version=5.5.12
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=whois
|
wrksrc=whois
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_build_args="prefix=/usr HAVE_ICONV=1 CONFIG_FILE=/etc/whois.conf"
|
||||||
|
make_install_args="prefix=/usr BASEDIR=\${DESTDIR}"
|
||||||
|
make_install_target="install-whois"
|
||||||
hostmakedepends="perl pkg-config gettext"
|
hostmakedepends="perl pkg-config gettext"
|
||||||
makedepends="libidn2-devel"
|
makedepends="libidn2-devel"
|
||||||
short_desc="Improved whois client"
|
short_desc="Improved whois client"
|
||||||
|
@ -11,18 +15,13 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://www.linux.it/~md/software"
|
homepage="https://www.linux.it/~md/software"
|
||||||
changelog="https://raw.githubusercontent.com/rfc1036/whois/next/debian/changelog"
|
changelog="https://raw.githubusercontent.com/rfc1036/whois/next/debian/changelog"
|
||||||
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
||||||
checksum=966281eb8301c14a1acc17e46c70061f73179d80e370aef43065c22f0947fb87
|
checksum=f1c5bab781b7f2357dab1039e8875d41ff7b5d03a78c27443fa26351952a0822
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
whois:whois:/usr/bin/gwhois
|
whois:whois:/usr/bin/gwhois
|
||||||
whois:whois.1:/usr/share/man/man1/gwhois.1"
|
whois:whois.1:/usr/share/man/man1/gwhois.1"
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
make CC=$CC prefix=/usr HAVE_ICONV=1 CONFIG_FILE=/etc/whois.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
|
||||||
mv ${DESTDIR}/usr/bin/{whois,gwhois}
|
mv ${DESTDIR}/usr/bin/{whois,gwhois}
|
||||||
mv ${DESTDIR}/usr/share/man/man1/{whois,gwhois}.1
|
mv ${DESTDIR}/usr/share/man/man1/{whois,gwhois}.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue