You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
710 B

include $(TOPDIR)/rules.mk
PKG_NAME:=mmfd
PKG_SOURCE_DATE:=2019-11-23
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/freifunk-gluon/mmfd.git
PKG_SOURCE_VERSION:=e23f244a8b54e6d9ce64d0020e02afc823c148fb
PKG_BUILD_DEPENDS += libjson-c
CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE:STRING=MINSIZEREL
#CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE:STRING=Debug
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/mmfd
SECTION:=net
CATEGORY:=Network
TITLE:=mesh multicast forwarding daemon
DEPENDS:= +kmod-tun +libjson-c
endef
define Package/mmfd/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mmfd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,mmfd))