mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
tftp-hpa: register 'tftp' alternatives group.
This commit is contained in:
parent
21388ea92b
commit
fd46b03c7e
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tftp-hpa'
|
# Template file for 'tftp-hpa'
|
||||||
pkgname=tftp-hpa
|
pkgname=tftp-hpa
|
||||||
version=5.2
|
version=5.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --without-tcpwrappers"
|
configure_args="--sbindir=/usr/bin --without-tcpwrappers"
|
||||||
hostmakedepends="automake"
|
hostmakedepends="automake"
|
||||||
|
@ -13,6 +13,12 @@ homepage="http://www.kernel.org"
|
||||||
distfiles="${homepage}/pub/software/network/tftp/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/pub/software/network/tftp/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=acc04dde662491e3092565ecf9bde504c47dbb1bb0408366009b138fe7754cab
|
checksum=acc04dde662491e3092565ecf9bde504c47dbb1bb0408366009b138fe7754cab
|
||||||
|
|
||||||
|
alternatives="
|
||||||
|
tftp:tftp:/usr/bin/${pkgname}
|
||||||
|
tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALLROOT=${DESTDIR} install
|
make INSTALLROOT=${DESTDIR} install
|
||||||
|
mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}
|
||||||
|
mv ${DESTDIR}/usr/share/man/man1/{tftp,${pkgname}}.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue