1234567891011121314151617181920212223242526272829303132 |
- include $(TOPDIR)/rules.mk
- PKG_NAME:=l3roamd
- PKG_VERSION:=1
- PKG_SOURCE_PROTO:=git
- PKG_SOURCE_URL=https://github.com/tcatm/l3roamd.git
- PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
- # this is master from april 14th
- PKG_SOURCE_VERSION:=master
- #PKG_SOURCE_VERSION:=14e87caa275be2432ae0fcc7242742946851d327
- PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
- #PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
- CMAKE_OPTIONS += I-DCMAKE_BUILD_TYPE:STRING=MINSIZEREL
- 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 +libpthread
- endef
- define Package/l3roamd/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/l3roamd $(1)/usr/bin/
- endef
- $(eval $(call BuildPackage,l3roamd))
|