Contents of /trunk/core/bridge-utils/bridge-utils-1.5-r2.smage2
Parent Directory | Revision Log
Revision 12639 -
(show annotations)
(download)
Tue Jun 26 09:12:05 2012 UTC (12 years, 3 months ago) by niro
File size: 773 byte(s)
Tue Jun 26 09:12:05 2012 UTC (12 years, 3 months ago) by niro
File size: 773 byte(s)
-prepare usr-move
1 | # $Id$ |
2 | |
3 | PNAME="bridge-utils" |
4 | PVER="1.5" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="net-misc" |
8 | |
9 | DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge." |
10 | HOMEPAGE="http://linux-net.osdl.org/index.php/Bridge" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | SDEPEND=">= virtual/kernel-headers |
14 | >= sys-dev/autoconf-4 |
15 | >= sys-dev/automake-3" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mbuild |
21 | msetfeature "!check" |
22 | |
23 | SRC_URI=( |
24 | sourceforge://bridge/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd_sourceforge bridge bridge - ${PNAME}" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # create missing configure and co |
36 | mautoreconf || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure --with-linux-headers=/usr/include || die |
44 | mmake || die |
45 | } |