Merge pull request #8678 from lucize/libpciaccess
[feed/packages.git] / net / oor / Makefile
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
16 include $(TOPDIR)/rules.mk
17
18 PKG_NAME:=oor
19 PKG_VERSION:=1.3.0
20 PKG_RELEASE:=1
21
22
23 PKG_SOURCE_URL=https://github.com/OpenOverlayRouter/oor/releases/download/$(PKG_VERSION)/
24 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
25 PKG_HASH:=e2bee73611984f0412798f4b72145f4f00037a9e874d3c2168a49e1bf49e4809
26
27 PKG_LICENSE:=Apache-2.0
28 PKG_LICENSE_FILES:=LICENSE
29 PKG_MAINTAINER:=Albert Lopez <alopez@ac.upc.edu>
30
31 include $(INCLUDE_DIR)/package.mk
32 include $(INCLUDE_DIR)/nls.mk
33
34 MAKE_FLAGS += platform=openwrt
35
36 define Package/oor
37 SECTION:=net
38 CATEGORY:=Network
39 TITLE:=Open Overlay Router
40 URL:=https://github.com/OpenOverlayRouter
41 DEPENDS:= +librt +confuse +kmod-tun +uci @IPV6
42 endef
43
44 define Package/oor/description
45 This packet provides support for the Locator-ID Separation Protocol, VXLAN-GPE.
46 endef
47
48 define Package/oor/install
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/oor/oor $(1)/usr/sbin/
51 $(INSTALL_DIR) $(1)/etc/config
52 $(INSTALL_CONF) $(PKG_BUILD_DIR)/openWRT/oor.uci.example $(1)/etc/config/oor
53 $(INSTALL_DIR) $(1)/etc/init.d
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/openWRT/openwrt.init.script $(1)/etc/init.d/oor
55 endef
56
57 $(eval $(call BuildPackage,oor))