inetutils-hostname: add hostname alternative.
This commit is contained in:
parent
cc1d13052e
commit
825cff6bbf
@ -1,7 +1,7 @@
|
||||
# Template file for 'inetutils'
|
||||
pkgname=inetutils
|
||||
version=1.9.4
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-wrap --with-pam"
|
||||
makedepends="pam-devel readline-devel"
|
||||
@ -49,10 +49,13 @@ inetutils-dnsdomainname_package() {
|
||||
}
|
||||
inetutils-hostname_package() {
|
||||
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() {
|
||||
vbin src/hostname
|
||||
vman man/hostname.1
|
||||
vbin src/hostname hostname-inetutils
|
||||
vman man/hostname.1 hostname-inetutils.1
|
||||
}
|
||||
}
|
||||
inetutils-ifconfig_package() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user