summaryrefslogtreecommitdiff
path: root/package/radvd/Makefile
blob: 4cb7d2c0a3b4d76472ff230090739ed710c45ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		radvd
PKG_VERSION:=		1.9.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		e807ad7e9a76d46b6133df391385cd31
PKG_DESCR:=		Routing Advertisement Daemon for IPv6
PKG_SECTION:=		ipv6
PKG_DEPENDS:=		kmod-ipv6 libdaemon
PKG_BUILDDEP:=		libdaemon
PKG_URL:=		http://www.litech.org/radvd/
PKG_SITES:=		http://v6web.litech.org/radvd/dist/

PKG_HOST_DEPENDS:=	!freebsd

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,RADVD,radvd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--with-configfile=/etc/radvd.conf \
			--with-logfile=/var/log/radvd.log \
			--with-pidfile=/var/run/radvd.pid

radvd-install:
	${INSTALL_DIR} ${IDIR_RADVD}/etc ${IDIR_RADVD}/usr/sbin
	${INSTALL_DATA} ./files/radvd.conf ${IDIR_RADVD}/etc/
	${INSTALL_BIN} ${WRKINST}/usr/sbin/radvd ${IDIR_RADVD}/usr/sbin/
	${INSTALL_BIN} ${WRKINST}/usr/sbin/radvdump ${IDIR_RADVD}/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk