2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://v6web.litech.org
/radvd
/dist \
16 http
://download.sourcemage.org
/mirror
17 PKG_MD5SUM
:=78598b60ed9d64920739189c3dc0934d
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=IPv6 Routing Advertisement Daemon
25 URL
:=http
://v6web.litech.org
/radvd
/
29 define Package
/radvd
/description
30 IPv6 Routing Advertisement Daemon.
33 define Build
/Configure
34 $(call Build
/Configure
/Default
,\
35 --with-configfile
=/etc
/radvd.conf \
36 --with-logfile
=/var
/log
/radvd.log \
37 --with-pidfile
=/var
/run
/radvd.pid \
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 DESTDIR
="$(PKG_INSTALL_DIR)" \
49 define Package
/radvd
/conffiles
53 define Package
/radvd
/install
54 $(INSTALL_DIR
) $(1)/etc
/config
55 $(INSTALL_CONF
) .
/files
/radvd.config
$(1)/etc
/config
/radvd
56 $(INSTALL_DIR
) $(1)/etc
/init.d
57 $(INSTALL_BIN
) .
/files
/radvd.init
$(1)/etc
/init.d
/radvd
58 $(INSTALL_DIR
) $(1)/usr
/sbin
59 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/radvd
$(1)/usr
/sbin
/
60 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/radvdump
$(1)/usr
/sbin
/
63 $(eval
$(call BuildPackage
,radvd
))