]>
Commit | Line | Data |
---|---|---|
1fe6c87b | 1 | ############################################################################### |
1fe6c87b | 2 | # # |
70df8302 | 3 | # IPFire.org - A linux based firewall # |
dfe07e52 | 4 | # Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # |
70df8302 MT |
5 | # # |
6 | # This program is free software: you can redistribute it and/or modify # | |
1fe6c87b | 7 | # it under the terms of the GNU General Public License as published by # |
70df8302 | 8 | # the Free Software Foundation, either version 3 of the License, or # |
1fe6c87b MT |
9 | # (at your option) any later version. # |
10 | # # | |
70df8302 | 11 | # This program is distributed in the hope that it will be useful, # |
1fe6c87b MT |
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 # | |
70df8302 | 17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # |
1fe6c87b | 18 | # # |
1fe6c87b MT |
19 | ############################################################################### |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include Config | |
26 | ||
a97daddb MT |
27 | PKG_NAME = bridge-utils |
28 | VER = 1.2 | |
22db74a2 | 29 | PKG_VER = 0 |
1fe6c87b | 30 | |
a97daddb | 31 | THISAPP = $(PKG_NAME)-$(VER) |
1fe6c87b | 32 | DL_FILE = $(THISAPP).tar.gz |
1fe6c87b | 33 | DIR_APP = $(DIR_SRC)/$(THISAPP) |
a97daddb | 34 | |
6679675b | 35 | OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) |
1fe6c87b | 36 | |
22db74a2 MT |
37 | MAINTAINER = |
38 | GROUP = Networking/Tools | |
39 | EXTRA = no | |
40 | DEBUG = no | |
41 | DEPS = | |
42 | ||
43 | URL = http://bridge.sourceforge.net/ | |
44 | LICENSE = GPLv2+ | |
45 | SHORT_DESC = Utilities for configuring the linux ethernet bridge. | |
46 | ||
47 | define LONG_DESC | |
48 | This package contains utilities for configuring the linux ethernet \ | |
49 | bridge. The linux ethernet bridge can be used for connecting multiple \ | |
50 | ethernet devices together. The connecting is fully transparent: hosts \ | |
51 | connected to one ethernet device see hosts connected to the other \ | |
52 | ethernet devices directly. | |
53 | endef | |
54 | ||
1fe6c87b MT |
55 | ############################################################################### |
56 | # Top-level Rules | |
57 | ############################################################################### | |
58 | ||
59 | objects = $(DL_FILE) | |
60 | ||
22db74a2 MT |
61 | download: $(objects) |
62 | ||
01452689 MT |
63 | info: |
64 | $(DO_PKG_INFO) | |
65 | ||
22db74a2 | 66 | install: $(OBJECT) |
1fe6c87b | 67 | |
22db74a2 MT |
68 | package: |
69 | @$(DO_PACKAGE) | |
1fe6c87b | 70 | |
22db74a2 | 71 | $(objects): |
1fe6c87b MT |
72 | @$(LOAD) |
73 | ||
1fe6c87b MT |
74 | ############################################################################### |
75 | # Installation Details | |
76 | ############################################################################### | |
77 | ||
22db74a2 | 78 | $(OBJECT): $(objects) |
1fe6c87b | 79 | @$(PREBUILD) |
74db1e10 | 80 | @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) |
a97daddb | 81 | cd $(DIR_APP) && autoconf |
158be7f4 MT |
82 | cd $(DIR_APP) && \ |
83 | ./configure \ | |
964f9c27 | 84 | $(CONFIGURE_ARCH) \ |
158be7f4 MT |
85 | --prefix=/usr \ |
86 | --sbindir=/sbin \ | |
87 | --disable-static | |
3d84c75d | 88 | cd $(DIR_APP) && make $(PARALLELISMFLAGS) |
1fe6c87b MT |
89 | cd $(DIR_APP) && make install |
90 | @rm -rf $(DIR_APP) | |
70df8302 | 91 | @$(POSTBUILD) |