Magellan Linux

Contents of /branches/R11-unstable/core/libcgroup/libcgroup-0.41-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24991 - (show annotations) (download)
Tue Nov 25 02:47:21 2014 UTC (9 years, 5 months ago) by niro
File size: 796 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libcgroup"
4 PVER="0.41"
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 msetfeature "!check"
22
23 SRC_URI=(
24 sourceforge://libcg/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2EXCLUDE=".rc"
29 UP2DATE="updatecmd_sourceforge libcg ${PNAME}"
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34
35 # disabled atm, breaks the built
36 # --disable-debug
37 mconfigure \
38 --enable-pam-module-dir=/usr/$(mlibdir)/security \
39 --enable-shared \
40 --enable-pam \
41 --disable-daemon \
42 --disable-tools \
43 || die
44
45 mmake -j1 || die
46 }