Contents of /branches/magellan-next/core/bridge-utils/bridge-utils-1.5-r1.smage2
Parent Directory | Revision Log
Revision 7905 -
(show annotations)
(download)
Fri Jun 3 19:32:14 2011 UTC (13 years, 3 months ago) by niro
File size: 875 byte(s)
Fri Jun 3 19:32:14 2011 UTC (13 years, 3 months ago) by niro
File size: 875 byte(s)
auto added: ver bump to 1.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="bridge-utils" |
4 | PVER="1.5" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge." |
11 | HOMEPAGE="http://linux-net.osdl.org/index.php/Bridge" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | SDEPEND=">= virtual/kernel-headers |
15 | >= sys-dev/autoconf-4 |
16 | >= sys-dev/automake-3" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild |
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 | autoreconf --install --force || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure \ |
44 | --with-linux-headers=/usr/include \ |
45 | --prefix=/ \ |
46 | --libdir=/usr/$(mlibdir) \ |
47 | --includedir=/usr/include \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |