29 lines
1003 B
Bash
29 lines
1003 B
Bash
# Template file for 'iputils'
|
|
pkgname=iputils
|
|
version=20210202
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-DNO_SETCAP_OR_SUID=true -DUSE_IDN=false
|
|
-DBUILD_TFTPD=false -DBUILD_NINFOD=false"
|
|
hostmakedepends="pkg-config docbook2x docbook-xsl-ns"
|
|
makedepends="libcap-devel"
|
|
depends="libcap-progs"
|
|
short_desc="Useful utilities for Linux networking (including ping)"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="BSD-3-Clause, GPL-2.0-or-later"
|
|
homepage="https://github.com/iputils/iputils"
|
|
distfiles="https://github.com/iputils/iputils/archive/${version}.tar.gz"
|
|
checksum=3f557ecfd2ace873801231d2c1f42de73ced9fbc1ef3a438d847688b5fb0e8ab
|
|
|
|
alternatives="
|
|
ping:ping:/usr/bin/${pkgname}-ping
|
|
ping:ping.8:/usr/share/man/man8/${pkgname}-ping.8
|
|
ping6:ping6:/usr/bin/${pkgname}-ping
|
|
ping6:ping6.8:/usr/share/man/man8/${pkgname}-ping.8"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/share/man/man8/{ping,${pkgname}-ping}.8
|
|
mv ${DESTDIR}/usr/bin/{ping,${pkgname}-ping}
|
|
vlicense Documentation/LICENSE.BSD3
|
|
}
|