29 lines
794 B
Bash
29 lines
794 B
Bash
# Template file for 'radvd'
|
|
pkgname=radvd
|
|
version=2.11
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config flex"
|
|
makedepends="check-devel libdaemon-devel"
|
|
conf_files="/etc/radvd.conf"
|
|
replaces="runit-void<20141013_2"
|
|
short_desc="IPv6 Router Advertisement Daemon"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="custom"
|
|
homepage="http://www.litech.org/radvd/"
|
|
distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
|
|
checksum=04636288fc79fa151260eeb2bea1b05942f59c31f01358c57f930a4eb45b5acc
|
|
|
|
post_extract() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
sed -i 's/ARPHRD_IEEE802154_PHY/ARPHRD_IEEE802154_MONITOR/g' \
|
|
device-linux.c
|
|
esac
|
|
}
|
|
post_install() {
|
|
vsv radvd
|
|
vconf radvd.conf.example radvd.conf
|
|
vlicense COPYRIGHT LICENSE
|
|
}
|