mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-18 05:03:58 +02:00
85c8044e6c
* Add some usage documentation to readme * FIX: compile error on include sys/unistd.h vs unistd.h
28 lines
707 B
Makefile
28 lines
707 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=l3roamd
|
|
PKG_SOURCE_DATE:=2019-09-18
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=https://github.com/freifunk-gluon/l3roamd.git
|
|
PKG_SOURCE_VERSION=10809f221a12c608b0ffe42c5bd90e274c31cdc4
|
|
|
|
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/l3roamd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=The layer 3 roaming daemon
|
|
DEPENDS:=+libnl-tiny +kmod-tun +librt +libjson-c
|
|
endef
|
|
|
|
define Package/l3roamd/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/l3roamd $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,l3roamd))
|