]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/ebtables/ebtables.nm
Move packages to pkgs subdirectory.
[people/ms/ipfire-3.x.git] / pkgs / ebtables / ebtables.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = ebtables
28 PKG_VER = v2.0.9-2
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
32 PKG_GROUP = Networking/Tools
33 PKG_URL = http://ebtables.sourceforge.net/
34 PKG_LICENSE = GPLv2+
35 PKG_SUMMARY = Ethernet Bridge frame table administration tool.
36
37 define PKG_DESCRIPTION
38 Ethernet bridge tables is a firewalling tool to transparently filter network \
39 traffic passing a bridge. The filtering possibilities are limited to link \
40 layer filtering and some basic filtering on higher network layers.
41 endef
42
43 PKG_TARBALL = $(THISAPP).tar.gz
44
45 CFLAGS += -Wall
46
47 define QUALITY_AGENT_WHITELIST_RPATH
48 /lib/ebtables
49 endef
50
51 define STAGE_BUILD
52 cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" BINDIR="/sbin" \
53 LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" $(PARALLELISMFLAGS)
54 endef
55
56 define STAGE_INSTALL
57 -mkdir -pv $(BUILDROOT)/etc/{init.d,sysconfig}
58 cd $(DIR_APP) && make install DESTDIR="$(BUILDROOT)" BINDIR="/sbin" \
59 LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" INITDIR="/etc/init.d"
60
61 rm -vfr $(BUILDROOT)/etc/{init.d,sysconfig}
62 endef