2 # Copyright (C) 2014 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
11 PKG_SOURCE_VERSION
:=e5c860f174c6deb4cc30211e895831aca0a55b7f
12 PKG_VERSION
:=2014-04-06
16 PKG_SOURCE_URL
:=https
://github.com
/F0rth
/mcast-tools.git
17 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
20 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 CONFIGURE_ARGS
+=--enable-mldv2host
--disable-pim6dd
--disable-mcastread
--disable-mcastsend
--disable-mfc
--disable-mtrace6
--disable-pmsft
25 TARGET_CFLAGS
+=-DIP6OPT_RTALERT_LEN
=4 -D_GNU_SOURCE
30 SUBMENU
:=Routing and Redirection
31 TITLE
:=Sparse PIM IPv6 Multicast Routing Daemon
34 define Package
/pim6sd
/description
35 pim6sd is an IPv6 multicast routing daemon
, which supports PIMv2
(Protocol
36 Independent Multicast Version
2) sparse mode and SSM
(Source-Specific-
40 define Package
/pim6sd
/conffiles
45 $(call Build
/Prepare
/Default
)
46 ( cd
$(PKG_BUILD_DIR
) ; \
49 automake
--add-missing
; \
54 define Package
/pim6sd
/install
55 $(INSTALL_DIR
) $(1)/etc
/init.d
56 $(INSTALL_CONF
) .
/files
/pim6sd.conf
$(1)/etc
57 $(INSTALL_BIN
) .
/files
/pim6sd.init
$(1)/etc
/init.d
/pim6sd
58 $(INSTALL_DIR
) $(1)/usr
/sbin
59 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pim6sd
/pim6sd
$(1)/usr
/sbin
/pim6sd
62 $(eval
$(call BuildPackage
,pim6sd
))