]>
Commit | Line | Data |
---|---|---|
58c8a197 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
58c8a197 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = vlan |
7 | version = 1.9 | |
27c4cb6d | 8 | release = 2 |
58c8a197 | 9 | |
802ea3af MT |
10 | groups = Networking/Tools |
11 | url = http://www.candelatech.com/~greear/vlan.html | |
12 | license = GPLv2+ | |
13 | summary = Linux 802.1q VLAN configuration utility. | |
58c8a197 | 14 | |
802ea3af MT |
15 | description |
16 | The vconfig program configures and adjusts 802.1q VLAN parameters. | |
17 | end | |
58c8a197 | 18 | |
802ea3af | 19 | source_dl = http://www.candelatech.com/~greear/vlan/ |
58c8a197 | 20 | |
802ea3af | 21 | DIR_APP = %{DIR_SRC}/%{name} |
58c8a197 | 22 | |
802ea3af MT |
23 | build |
24 | # Parallelism cannot be used here. | |
25 | PARALLELISMFLAGS = -j1 | |
58c8a197 | 26 | |
27c4cb6d MT |
27 | prepare_cmds |
28 | make purge | |
29 | end | |
30 | ||
31 | make_build_targets = vconfig CCFLAGS="%{CFLAGS}" STRIP=/bin/true | |
58c8a197 | 32 | |
802ea3af | 33 | install |
27c4cb6d MT |
34 | mkdir -pv %{BUILDROOT}%{sbindir} |
35 | install -D -m 0755 vconfig %{BUILDROOT}%{sbindir} | |
36 | ||
37 | mkdir -pv %{BUILDROOT}%{mandir}/man8 | |
38 | install -D -m 0644 vconfig.8 %{BUILDROOT}%{mandir}/man8 | |
802ea3af MT |
39 | end |
40 | end | |
58c8a197 | 41 | |
802ea3af MT |
42 | packages |
43 | package %{name} | |
1f9bc2f0 MT |
44 | |
45 | package %{name}-debuginfo | |
46 | template DEBUGINFO | |
47 | end | |
802ea3af | 48 | end |