1 # Copyright (C) 2011, 2015 Cisco Systems, Inc.
2 # Copyright (C) 2015 CBA research group, Technical University of Catalonia.
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:
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 include $(TOPDIR
)/rules.mk
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
26 PKG_LICENSE
:=Apache-2.0
27 PKG_LICENSE_FILES
:=LICENSE
28 PKG_MAINTAINER
:=Albert Lopez
<alopez@ac.upc.edu
>
30 include $(INCLUDE_DIR
)/package.mk
31 include $(INCLUDE_DIR
)/nls.mk
33 MAKE_FLAGS
+= platform
=openwrt
38 TITLE
:=Open Overlay Router
39 URL
:=https
://github.com
/OpenOverlayRouter
40 DEPENDS
:= +librt
+confuse
+kmod-tun
+uci @IPV6
43 define Package
/oor
/description
44 This packet provides support for the Locator-ID Separation Protocol
, VXLAN-GPE.
47 define Package
/oor
/conffiles
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
60 $(eval
$(call BuildPackage
,oor
))