batman-adv: Remove non-existing setting "vis_mode"
[lede-routing/.git] / ohybridproxy / Makefile
1 #
2 # Copyright (C) 2012-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ohybridproxy
10 PKG_SOURCE_VERSION:=8a28ae92c97099e771c9ede5641e3782ae809c27
11 PKG_VERSION:=2016-06-28-$(PKG_SOURCE_VERSION)
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_URL:=git://github.com/sbyx/ohybridproxy.git
16 PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
17 PKG_LICENSE:=GPL-2.0
18
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/cmake.mk
24
25 # Spammy debug builds for now
26 CMAKE_OPTIONS += -DL_LEVEL=7
27
28 define Package/ohybridproxy
29   SECTION:=net
30   CATEGORY:=Network
31   SUBMENU:=IP Addresses and Names
32   TITLE:=mdns/dns hybrid-proxy
33   URL:=https://github.com/sbyx/ohybridproxy
34   DEPENDS+=+libubox +mdnsd
35 endef
36
37 define Package/ohybridproxy/description
38  This package provides a statically configured daemon for translating DNS
39  requests to Multicast DNS and back again.
40 endef
41
42 define Package/ohybridproxy/install
43         $(INSTALL_DIR) $(1)/usr/sbin/
44         $(INSTALL_BIN) $(PKG_BUILD_DIR)/ohybridproxy $(1)/usr/sbin/
45         $(INSTALL_DIR) $(1)/etc/config/
46         $(INSTALL_DATA) ./files/ohybridproxy.config $(1)/etc/config/ohybridproxy
47         $(INSTALL_DIR) $(1)/etc/init.d/
48         $(INSTALL_BIN) ./files/ohybridproxy.init $(1)/etc/init.d/ohybridproxy
49         $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
50         $(INSTALL_DATA) ./files/ohybridproxy.hotplug $(1)/etc/hotplug.d/iface/ohybridproxy
51 endef
52
53 $(eval $(call BuildPackage,ohybridproxy))
54
55 define Package/zonestitcher
56   SECTION:=net
57   CATEGORY:=Network
58   SUBMENU:=IP Addresses and Names
59   TITLE:=dynamically combine multiple DNS zones into one
60   URL:=https://github.com/sbyx/ohybridproxy
61   DEPENDS+=+libubox
62 endef
63
64 define Package/zonestitcher/description
65  This package provides a statically configured daemon for translating DNS
66  requests to Multicast DNS and back again.
67 endef
68
69 define Package/zonestitcher/install
70         $(INSTALL_DIR) $(1)/usr/sbin/
71         $(INSTALL_BIN) $(PKG_BUILD_DIR)/zonestitcher $(1)/usr/sbin/
72 endef
73
74 $(eval $(call BuildPackage,zonestitcher))