florian 46670d0151 Add missing iptables-mod-extra dependency to shorewall packages (#3201)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-27 19:34:14 +00:00

46 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 7845 2007-07-01 23:09:45Z florian $
include $(TOPDIR)/rules.mk
PKG_NAME:=shorewall-shell
PKG_VERSION:=4.0.5
PKG_RELEASE:=1
PKG_MD5SUM:=2962e1c8fb8dc581fcbdb4f562a660de
PKG_SOURCE_URL:=http://www1.shorewall.net/pub/shorewall/4.0/shorewall-$(PKG_VERSION)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
include $(INCLUDE_DIR)/package.mk
define Package/shorewall-shell
SECTION:=net
CATEGORY:=Network
DEPENDS:=+iptables +iptables-mod-extra
TITLE:=Shorewall Shell
URL:=http://www.shorewall.net/
SUBMENU:=firewall
endef
define Package/shorewall-shell/description
Shoreline Firewall shell-based compiler.
endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
PREFIX=$(PKG_INSTALL_DIR) $(PKG_BUILD_DIR)/install.sh
endef
define Package/shorewall-shell/install
$(INSTALL_DIR) $(1)/usr/share
$(CP) $(PKG_INSTALL_DIR)/usr/share/shorewall-shell $(1)/usr/share
endef
$(eval $(call BuildPackage,shorewall-shell))