void-packages/srcpkgs/radvd/template

30 lines
828 B
Bash
Raw Normal View History

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