1 include $(TOPDIR
)/rules.mk
4 PKG_SOURCE_VERSION
:=dbf4e5913b06e3160f506df15e6a047a403a5f21
5 PKG_VERSION
:=2018-06-19-$(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 \
26 TITLE
:=PIM BIDIR daemon
27 URL
:=https
://github.com
/Oryon
/pimbd.git
32 define Package
/pimbd
/description
33 This package provides a daemon which implements the Protocol Independent
34 Multicast BIDIR routing protocol. Note that a routing protocol must be
35 installed and running in order for PIM to function.
38 define Package
/pimbd
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
/
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pimbd
$(1)/usr
/sbin
/pimbd
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/generic
/pimbc.sh
$(1)/usr
/sbin
/pimbc
42 ln
-s pimbd
$(1)/usr
/sbin
/pimb-ipc
43 $(INSTALL_DIR
) $(1)/etc
/init.d
44 $(INSTALL_BIN
) .
/files
/pimbd.init
$(1)/etc
/init.d
/pimbd
45 $(INSTALL_DIR
) $(1)/etc
/uci-defaults
46 $(INSTALL_BIN
) files
/firewall-uci.sh
$(1)/etc
/uci-defaults
/99_pimbd_firewall
49 $(eval
$(call BuildPackage
,pimbd
))