]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/firewall/firewall.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / firewall / firewall.nm
CommitLineData
8838c71a
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
77467cbd 4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
8838c71a
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
77467cbd
MT
21###############################################################################
22# Definitions
23###############################################################################
8838c71a 24
77467cbd 25include $(PKGROOT)/Include
8838c71a 26
77467cbd
MT
27PKG_NAME = firewall
28PKG_VER =
ac119e82 29PKG_REL = 1
8838c71a 30
77467cbd 31PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
bb7d617c 32PKG_GROUPS = Networking/Firewall
77467cbd
MT
33PKG_URL = http://www.ipfire.org/
34PKG_LICENSE = GPLv3+
35PKG_SUMMARY = The IPFire Firewall Engine.
8838c71a 36
eb75cd56 37PKG_BUILD_DEPS = # Empty
77467cbd 38PKG_DEPS += iproute2 iptables
8838c71a 39
77467cbd
MT
40define PKG_DESCRIPTION
41 This script installs IPFire's firewall.
42endef
8838c71a 43
77467cbd 44DIR_APP = $(DIR_SOURCE)/src
8838c71a 45
77467cbd 46PKG_TARBALL =
8838c71a 47
77467cbd
MT
48STAGE_PREPARE = # Do nothing
49STAGE_BUILD = # Do nothing
8838c71a 50
77467cbd
MT
51define STAGE_INSTALL
52 -mkdir -pv $(BUILDROOT)/usr/{lib,share}/firewall $(BUILDROOT)/usr/bin
53 for i in $(DIR_APP)/{functions,zones}*; do \
54 install -m 644 -v $$i $(BUILDROOT)/usr/lib/firewall; \
55 done
56 cp -avf $(DIR_APP)/macros $(BUILDROOT)/usr/share/firewall/
57 install -m 755 -v $(DIR_APP)/firewall $(BUILDROOT)/usr/bin
58endef