Magellan Linux

Contents of /trunk/core/bridge-utils/bridge-utils-1.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10121 - (show annotations) (download)
Tue Jan 17 09:13:34 2012 UTC (12 years, 4 months ago) by niro
File size: 856 byte(s)
-no check target in Makefile
1 # $Id$
2
3 PNAME="bridge-utils"
4 PVER="1.5"
5 PBUILD="r1"
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 \
44 --with-linux-headers=/usr/include \
45 --prefix=/ \
46 --libdir=/usr/$(mlibdir) \
47 --includedir=/usr/include \
48 || die
49
50 mmake || die
51 }