source: trunk/package/relayd/Makefile @ 24856

Last change on this file since 24856 was 24856, checked in by nbd, 6 years ago

add relayd, can be used as a replacement for client bridge, but does not have any uci integration yet

File size: 863 bytes
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=relayd
11PKG_VERSION:=2010-10-11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
14PKG_SOURCE_URL:=git://nbd.name/relayd.git
15PKG_SOURCE_PROTO:=git
16PKG_SOURCE_VERSION:=caf4d30c669ad8b64ef566b8bab4aec445b90b46
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/relayd
21  SECTION:=net
22  CATEGORY:=Network
23  TITLE:=Transparent routing / relay daemon
24endef
25
26define Build/Compile
27        $(MAKE) -C $(PKG_BUILD_DIR) \
28                $(TARGET_CONFIGURE_OPTS) \
29                CFLAGS="$(TARGET_CFLAGS)"
30endef
31
32define Package/relayd/install
33        $(INSTALL_DIR) $(1)/usr/sbin
34        $(INSTALL_BIN) $(PKG_BUILD_DIR)/relayd $(1)/usr/sbin/relayd
35endef
36
37$(eval $(call BuildPackage,relayd))
Note: See TracBrowser for help on using the repository browser.