void-packages/srcpkgs/minissdpd/template

26 lines
663 B
Bash

# Template file for 'minissdpd'
pkgname=minissdpd
version=1.6.0
revision=1
build_style=gnu-makefile
makedepends="libnfnetlink-devel"
short_desc="MiniSSDP Daemon to speed up UPnP device discovery"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://miniupnp.tuxfamily.org/minissdpd.html"
distfiles="https://miniupnp.tuxfamily.org/files/minissdpd-${version}.tar.gz"
checksum=f4c2dea6a472e0a5cc9dca2dc4c1fc36ba5538eacf8d793825293251725546bd
CFLAGS="-D_GNU_SOURCE"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
do_install() {
vbin minissdpd
vman minissdpd.1
vlicense LICENSE
vsv minissdpd
}