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-07-20
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/freifunk-gluon/mmfd.git
PKG_SOURCE_VERSION:=3c4ce688e40c32e7dfbf945d9f224353fe5d8363
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))