inetutils-hostname: add hostname alternative.

This commit is contained in:
Christian Neukirchen 2015-11-09 14:01:03 +01:00
parent cc1d13052e
commit 825cff6bbf

View file

@ -1,7 +1,7 @@
# Template file for 'inetutils' # Template file for 'inetutils'
pkgname=inetutils pkgname=inetutils
version=1.9.4 version=1.9.4
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--without-wrap --with-pam" configure_args="--without-wrap --with-pam"
makedepends="pam-devel readline-devel" makedepends="pam-devel readline-devel"
@ -49,10 +49,13 @@ inetutils-dnsdomainname_package() {
} }
inetutils-hostname_package() { inetutils-hostname_package() {
short_desc+=" - hostname tool" short_desc+=" - hostname tool"
conflicts="coreutils>=0" alternatives="
hostname:hostname:/usr/bin/hostname-inetutils
hostname:hostname.1:/usr/share/man/man1/hostname-inetutils.1
"
pkg_install() { pkg_install() {
vbin src/hostname vbin src/hostname hostname-inetutils
vman man/hostname.1 vman man/hostname.1 hostname-inetutils.1
} }
} }
inetutils-ifconfig_package() { inetutils-ifconfig_package() {