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