[net] Telephony: Yate: Corrected typo in dependency for dbwave.
[openwrt/svn-archive/archive.git] / net / iptables-snmp / 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:=iptables-snmp
11 PKG_VERSION:=0.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.nobiscuit.com/iptables-snmp
16 PKG_MD5SUM:=8370d2f0c899461a053da491400119d1
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/iptables-snmp
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+snmpd +libiptc
24 TITLE:=An snmpd plugin to access iptables rules
25 URL:=http://www.nobiscuit.com/iptables-snmp/
26 SUBMENU:=firewall
27 endef
28
29 define Package/iptables-snmp/description
30 This is a plugin that makes iptables rules accessable from snmpd.
31 endef
32
33 define Build/Compile
34 $(call Build/Compile/Default, \
35 INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
36 LDFLAGS="$(TARGET_LDFLAGS)" \
37 all install \
38 )
39 endef
40
41 define Package/iptables-snmp/install
42 $(INSTALL_DIR) $(1)/usr/lib
43 $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables-snmp.so $(1)/usr/lib
44 endef
45
46 $(eval $(call BuildPackage,iptables-snmp))