void-packages/srcpkgs/radvd/template

30 lines
828 B
Bash
Raw Normal View History

2014-07-03 18:42:49 +00:00
# Template file for 'radvd'
pkgname=radvd
2015-04-10 09:04:27 +00:00
version=2.11
2015-06-02 19:15:44 +00:00
revision=3
2014-07-03 18:42:49 +00:00
build_style=gnu-configure
2014-10-13 14:49:24 +00:00
hostmakedepends="pkg-config flex"
2014-07-31 13:46:49 +00:00
makedepends="check-devel libdaemon-devel"
2014-07-03 18:42:49 +00:00
conf_files="/etc/radvd.conf"
2014-10-13 14:49:24 +00:00
replaces="runit-void<20141013_2"
2014-07-03 18:42:49 +00:00
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"
2015-04-10 09:04:27 +00:00
checksum=04636288fc79fa151260eeb2bea1b05942f59c31f01358c57f930a4eb45b5acc
2015-06-02 19:15:44 +00:00
configure_args="--sbindir=/usr/bin"
2014-07-03 18:42:49 +00:00
2015-05-16 14:15:09 +00:00
post_extract() {
2015-06-02 19:15:44 +00:00
case "$XBPS_TARGET_MACHINE" in
2015-05-16 15:07:11 +00:00
*-musl)
sed -i 's/ARPHRD_IEEE802154_PHY/ARPHRD_IEEE802154_MONITOR/g' \
device-linux.c
esac
2015-05-16 14:15:09 +00:00
}
2014-07-03 18:42:49 +00:00
post_install() {
2014-11-23 14:44:38 +00:00
vsv radvd
vconf radvd.conf.example radvd.conf
vlicense COPYRIGHT LICENSE
2014-07-03 18:42:49 +00:00
}