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.

56 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.2.2
  18. PKG_RELEASE:=1
  19. PKG_SOURCE_URL=https://github.com/OpenOverlayRouter/oor/releases/download/$(PKG_VERSION)/
  20. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  21. PKG_MD5SUM:=6702348fa314c2691f28c7e71337bb84
  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/install
  39. $(INSTALL_DIR) $(1)/usr/sbin
  40. $(INSTALL_BIN) $(PKG_BUILD_DIR)/oor/oor $(1)/usr/sbin/
  41. $(INSTALL_DIR) $(1)/etc/config
  42. $(INSTALL_CONF) $(PKG_BUILD_DIR)/openWRT/oor.uci.example $(1)/etc/config/oor
  43. $(INSTALL_DIR) $(1)/etc/init.d
  44. $(INSTALL_BIN) $(PKG_BUILD_DIR)/openWRT/openwrt.init.script $(1)/etc/init.d/oor
  45. endef
  46. $(eval $(call BuildPackage,oor))