[net] Routing and Redirection: Moved proxy arp daemon to Routing and Redirection...
[openwrt/svn-archive/archive.git] / net / parprouted / Makefile
1 #
2 # Copyright (C) 2006 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:=parprouted
11 PKG_VERSION:=0.64
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
16 PKG_MD5SUM:=14133c9cb8dd9c9a90ff37648ae7b31a
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/parprouted
21 SECTION:=net
22 CATEGORY:=Network
23 SUBMENU:=Routing and Redirection
24 DEPENDS:=+libpthread
25 TITLE:=Proxy ARP daemon
26 URL:=http://www.hazard.maks.net/parprouted/
27 endef
28
29 define Package/parprouted/description
30 parprouted is a daemon for transparent IP (Layer 3) proxy ARP bridging.
31 This is useful for creation of transparent firewalls and bridging networks
32 with different MAC protocols. Also, unlike standard bridging, proxy ARP
33 bridging allows to bridge Ethernet networks behind wireless nodes without
34 using WDS or layer 2 bridging.
35
36 endef
37
38 define Build/Compile
39 $(call Build/Compile/Default, \
40 CFLAGS="$(TARGET_CFLAGS)" \
41 LDFLAGS="" \
42 all \
43 )
44 endef
45
46 define Package/parprouted/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
49 $(INSTALL_DIR) $(1)/etc/default
50 $(INSTALL_BIN) ./files/parprouted.default $(1)/etc/default/parprouted
51 $(INSTALL_DIR) $(1)/etc/init.d
52 $(INSTALL_BIN) ./files/parprouted.init $(1)/etc/init.d/parprouted
53 endef
54
55 $(eval $(call BuildPackage,parprouted))