Magellan Linux

Contents of /trunk/core/libcgroup/libcgroup-0.37-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10190 - (show annotations) (download)
Thu Jan 19 14:52:23 2012 UTC (12 years, 8 months ago) by niro
File size: 774 byte(s)
-import from magellan-next
1 # $Id$
2
3 PNAME="libcgroup"
4 PVER="0.37"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="libcg is a library that abstracts the control group file system in Linux."
10 HOMEPAGE="http://libcg.sourceforge.net/"
11
12 DEPEND=">= sys-libs/pam-1.1"
13
14 SDEPEND=">= sys-dev/flex-2.5.35
15 >= sys-dev/bison-2.4"
16
17 SRCFILE="${PNAME}-${PVER}.tar.bz2"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 sourceforge://libcg/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2SUBSTITUTE="v"
28 UP2DATE="updatecmd_sourceforge libcg ${PNAME}"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 # disabled atm, breaks the built
35 # --disable-debug \
36 mconfigure \
37 --enable-pam-module-dir=/$(mlibdir)/security \
38 --enable-shared \
39 --enable-pam \
40 --disable-daemon \
41 --disable-tools \
42 || die
43
44 mmake -j1 || die
45 }