]>
Commit | Line | Data |
---|---|---|
92409c7b | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
92409c7b MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = netplug |
7 | version = 1.2.9.1 | |
8 | release = 1 | |
92409c7b | 9 | |
802ea3af MT |
10 | groups = Networking/Tools |
11 | url = http://www.red-bean.com/~bos/ | |
12 | license = GPLv2 | |
13 | summary = A daemon that manages network interfaces in response to \ | |
92409c7b MT |
14 | network cables being plugged in and out. |
15 | ||
802ea3af MT |
16 | description |
17 | Netplug is a Linux daemon that manages network interfaces in response | |
18 | to network cables being plugged in and out. If you're familiar with | |
19 | Windows XP, which just does the Right Thing when you plug an ethernet | |
92409c7b | 20 | cable into a laptop, netplug will need no further explanation. |
802ea3af MT |
21 | end |
22 | ||
23 | source_dl = | |
24 | sources = %{thisapp}.tar.bz2 | |
92409c7b | 25 | |
802ea3af MT |
26 | build |
27 | prepare_cmds | |
28 | # Remove debugging flags from CFLAGS. | |
29 | sed -i Makefile -e "s/-ggdb3 -O3//g" | |
30 | end | |
92409c7b | 31 | |
802ea3af MT |
32 | build |
33 | make CC="gcc" | |
34 | end | |
92409c7b | 35 | |
802ea3af MT |
36 | install_cmds |
37 | rm -rfv %{BUILDROOT}/etc/rc.d | |
38 | end | |
39 | end | |
92409c7b | 40 | |
802ea3af MT |
41 | packages |
42 | package %{name} | |
1f9bc2f0 MT |
43 | |
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
802ea3af | 47 | end |