Magellan Linux

Contents of /branches/magellan-next/core/libcgroup/libcgroup-0.36.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6643 - (show annotations) (download)
Mon Sep 13 21:04:38 2010 UTC (13 years, 8 months ago) by niro
File size: 781 byte(s)
auto added: ver bump to 0.36.2-r1
1 # $Id$
2
3 PNAME="libcgroup"
4 PVER="0.36.2"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="libcg is a library that abstracts the control group file system in Linux."
11 HOMEPAGE="http://libcg.sourceforge.net/"
12
13 DEPEND=">= sys-libs/pam-1.1"
14
15 SDEPEND=">= sys-dev/flex-2.5.35
16 >= sys-dev/bison-2.4"
17
18 SRCFILE="${PNAME}-${PVER}.tar.bz2"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild
22
23 SRC_URI=(
24 sourceforge://libcg/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
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 }