[PATCH] nullmailer packaged
[openwrt/svn-archive/archive.git] / net / shorewall-shell / 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:=shorewall-shell
11 PKG_VERSION:=4.2.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=http://www1.shorewall.net/pub/shorewall/4.2/shorewall-$(PKG_VERSION)/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_MD5SUM:=c5555ef10e493af3d3ad40785bf33caa
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/shorewall-shell
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+iptables +iptables-mod-extra +ip
24 TITLE:=Shorewall Shell
25 URL:=http://www.shorewall.net/
26 SUBMENU:=firewall
27 endef
28
29 define Package/shorewall-shell/description
30 Shoreline Firewall shell-based compiler.
31 endef
32
33 define Build/Compile
34 rm -rf $(PKG_INSTALL_DIR)
35 mkdir -p $(PKG_INSTALL_DIR)
36 PREFIX=$(PKG_INSTALL_DIR) $(PKG_BUILD_DIR)/install.sh
37 endef
38
39 define Package/shorewall-shell/install
40 $(INSTALL_DIR) $(1)/usr/share
41 $(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall-shell $(1)/usr/share
42 endef
43
44 $(eval $(call BuildPackage,shorewall-shell))