]>
Commit | Line | Data |
---|---|---|
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 | 25 | include $(PKGROOT)/Include |
8838c71a | 26 | |
77467cbd MT |
27 | PKG_NAME = firewall |
28 | PKG_VER = | |
ac119e82 | 29 | PKG_REL = 1 |
8838c71a | 30 | |
77467cbd | 31 | PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org> |
bb7d617c | 32 | PKG_GROUPS = Networking/Firewall |
77467cbd MT |
33 | PKG_URL = http://www.ipfire.org/ |
34 | PKG_LICENSE = GPLv3+ | |
35 | PKG_SUMMARY = The IPFire Firewall Engine. | |
8838c71a | 36 | |
eb75cd56 | 37 | PKG_BUILD_DEPS = # Empty |
77467cbd | 38 | PKG_DEPS += iproute2 iptables |
8838c71a | 39 | |
77467cbd MT |
40 | define PKG_DESCRIPTION |
41 | This script installs IPFire's firewall. | |
42 | endef | |
8838c71a | 43 | |
77467cbd | 44 | DIR_APP = $(DIR_SOURCE)/src |
8838c71a | 45 | |
77467cbd | 46 | PKG_TARBALL = |
8838c71a | 47 | |
77467cbd MT |
48 | STAGE_PREPARE = # Do nothing |
49 | STAGE_BUILD = # Do nothing | |
8838c71a | 50 | |
77467cbd MT |
51 | define 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 | |
58 | endef |