[package] hostapd: introduce a client_cert option which is passed on to wpa_supplican...
[openwrt.git] / package / relayd / Makefile
1 #
2 # Copyright (C) 2010-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=relayd
11 PKG_VERSION:=2011-10-24
12 PKG_RELEASE=$(PKG_SOURCE_VERSION)
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE_URL:=git://nbd.name/relayd.git
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_VERSION:=4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3
19
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/cmake.mk
22
23 define Package/relayd
24 SECTION:=net
25 CATEGORY:=Network
26 SUBMENU:=Routing and Redirection
27 TITLE:=Transparent routing / relay daemon
28 DEPENDS:=+libubox
29 endef
30
31 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
32
33 define Package/relayd/install
34 $(INSTALL_DIR) $(1)/usr/sbin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/relayd $(1)/usr/sbin/relayd
36 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
37 $(INSTALL_DATA) ./files/relay.hotplug $(1)/etc/hotplug.d/iface/30-relay
38 $(INSTALL_DIR) $(1)/lib/network
39 $(INSTALL_DATA) ./files/relay.sh $(1)/lib/network/relay.sh
40 endef
41
42 $(eval $(call BuildPackage,relayd))
This page took 0.046518 seconds and 5 git commands to generate.