void-packages/srcpkgs/iputils/template
2019-07-10 07:11:45 +02:00

29 lines
1 KiB
Bash

# Template file for 'iputils'
pkgname=iputils
version=20190515
revision=1
wrksrc="${pkgname}-s${version}"
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 libressl-devel"
depends="libcap-progs"
short_desc="Useful utilities for Linux networking (including ping)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-3-Clause, GPL-2.0-or-later"
homepage="https://github.com/iputils/iputils"
distfiles="https://github.com/iputils/iputils/archive/s${version}.tar.gz"
checksum=9b5125eb5ef9f4e947ad8fdddcf77f538f53b8f47b53eb5bc5347cb16d01c8fd
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
}