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.

60 lines
1.8 KiB

  1. # Copyright (C) 2011, 2015 Cisco Systems, Inc.
  2. # Copyright (C) 2015 CBA research group, Technical University of Catalonia.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at:
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. include $(TOPDIR)/rules.mk
  16. PKG_NAME:=oor
  17. PKG_VERSION:=1.3.0
  18. PKG_RELEASE:=3
  19. PKG_SOURCE_URL=https://github.com/OpenOverlayRouter/oor/releases/download/$(PKG_VERSION)/
  20. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  21. PKG_HASH:=e2bee73611984f0412798f4b72145f4f00037a9e874d3c2168a49e1bf49e4809
  22. PKG_LICENSE:=Apache-2.0
  23. PKG_LICENSE_FILES:=LICENSE
  24. PKG_MAINTAINER:=Albert Lopez <alopez@ac.upc.edu>
  25. include $(INCLUDE_DIR)/package.mk
  26. include $(INCLUDE_DIR)/nls.mk
  27. MAKE_FLAGS += platform=openwrt
  28. define Package/oor
  29. SECTION:=net
  30. CATEGORY:=Network
  31. TITLE:=Open Overlay Router
  32. URL:=https://github.com/OpenOverlayRouter
  33. DEPENDS:= +librt +confuse +kmod-tun +uci @IPV6
  34. endef
  35. define Package/oor/description
  36. This packet provides support for the Locator-ID Separation Protocol, VXLAN-GPE.
  37. endef
  38. define Package/oor/conffiles
  39. /etc/config/oor
  40. endef
  41. define Package/oor/install
  42. $(INSTALL_DIR) $(1)/usr/sbin
  43. $(INSTALL_BIN) $(PKG_BUILD_DIR)/oor/oor $(1)/usr/sbin/
  44. $(INSTALL_DIR) $(1)/etc/config
  45. $(INSTALL_CONF) $(PKG_BUILD_DIR)/openWRT/oor.uci.example $(1)/etc/config/oor
  46. $(INSTALL_DIR) $(1)/etc/init.d
  47. $(INSTALL_BIN) $(PKG_BUILD_DIR)/openWRT/openwrt.init.script $(1)/etc/init.d/oor
  48. endef
  49. $(eval $(call BuildPackage,oor))