]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - ebtables/ebtables.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / ebtables / ebtables.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = ebtables
7 version = v2.0.9-2
8 release = 1
9
10 groups = Networking/Tools
11 url = http://ebtables.sourceforge.net/
12 license = GPLv2+
13 summary = Ethernet Bridge frame table administration tool.
14
15 description
16 Ethernet bridge tables is a firewalling tool to transparently filter network \
17 traffic passing a bridge. The filtering possibilities are limited to link \
18 layer filtering and some basic filtering on higher network layers.
19 end
20
21 source_dl =
22
23 build
24 CFLAGS += -Wall
25
26 build
27 make CFLAGS="%{CFLAGS}" BINDIR="/sbin" \
28 LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" %{PARALLELISMFLAGS}
29 end
30
31 install
32 mkdir -pv %{BUILDROOT}/etc/{init.d,sysconfig}
33 make install DESTDIR="%{BUILDROOT}" BINDIR="/sbin" \
34 LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" INITDIR="/etc/init.d"
35
36 rm -vfr %{BUILDROOT}/etc/{init.d,sysconfig}
37 end
38
39 export PKG_REQUIRES_FILTER = libebt
40 end
41
42 quality-agent
43 whitelist_rpath
44 /lib/ebtables
45 end
46 end
47
48 packages
49 package %{name}
50 end
51 end