1 include $(TOPDIR
)/rules.mk
4 PKG_SOURCE_VERSION
:=68f5fc803119e4b33a88b35c096f4d6ac28b6de5
5 PKG_VERSION
:=2015-08-18-$(PKG_SOURCE_VERSION
)
9 PKG_SOURCE_URL
:=https
://github.com
/Oryon
/pimbd.git
10 PKG_MAINTAINER
:=Pierre Pfister
<pierre.pfister@darou.fr
>
11 PKG_LICENSE
:=Apache-2.0
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(INCLUDE_DIR
)/package.mk
17 include $(INCLUDE_DIR
)/cmake.mk
19 # Spammy debug builds for now
20 CMAKE_OPTIONS
+= -DL_LEVEL
=7
25 TITLE
:=PIM BIDIR daemon
26 URL
:=https
://github.com
/Oryon
/pimbd.git
31 define Package
/pimbd
/description
32 This package provides a daemon which implements the Protocol Independent
33 Multicast BIDIR routing protocol. Note that a routing protocol must be
34 installed and running in order for PIM to function.
37 define Package
/pimbd
/install
38 $(INSTALL_DIR
) $(1)/usr
/sbin
/
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pimbd
$(1)/usr
/sbin
/pimbd
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/generic
/pimbc.sh
$(1)/usr
/sbin
/pimbc
41 ln
-s pimbd
$(1)/usr
/sbin
/pimb-ipc
42 $(INSTALL_DIR
) $(1)/etc
/init.d
43 $(INSTALL_BIN
) .
/files
/pimbd.init
$(1)/etc
/init.d
/pimbd
44 $(INSTALL_DIR
) $(1)/etc
/uci-defaults
45 $(INSTALL_BIN
) files
/firewall-uci.sh
$(1)/etc
/uci-defaults
/99_pimbd_firewall
48 $(eval
$(call BuildPackage
,pimbd
))