Add nufw
[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 # $Id: Makefile 7845 2007-07-01 23:09:45Z florian $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=shorewall-shell
12 PKG_VERSION:=4.0.5
13 PKG_RELEASE:=1
14 PKG_MD5SUM:=2962e1c8fb8dc581fcbdb4f562a660de
15
16 PKG_SOURCE_URL:=http://www1.shorewall.net/pub/shorewall/4.0/shorewall-$(PKG_VERSION)/
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/shorewall-shell
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+iptables
25 TITLE:=Shorewall Shell
26 URL:=http://www.shorewall.net/
27 SUBMENU:=firewall
28 endef
29
30 define Package/shorewall-shell/description
31 Shoreline Firewall shell-based compiler.
32 endef
33
34 define Build/Compile
35 rm -rf $(PKG_INSTALL_DIR)
36 mkdir -p $(PKG_INSTALL_DIR)
37 PREFIX=$(PKG_INSTALL_DIR) $(PKG_BUILD_DIR)/install.sh
38 endef
39
40 define Package/shorewall-shell/install
41 $(INSTALL_DIR) $(1)/usr/share
42 $(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall-shell $(1)/usr/share
43 endef
44
45 $(eval $(call BuildPackage,shorewall-shell))