Magellan Linux

Contents of /branches/R11-unstable/core/bridge-utils/bridge-utils-1.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24919 - (show annotations) (download)
Tue Nov 25 02:38:45 2014 UTC (9 years, 5 months ago) by niro
File size: 780 byte(s)
-release branches/R11-unstable
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 UP2TARBALL="${PNAME}"
29 UP2DATE="updatecmd_sourceforge bridge gz"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # create missing configure and co
37 mautoreconf || die
38 }
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 mconfigure --with-linux-headers=/usr/include || die
45 mmake || die
46 }