Annotation of /branches/magellan-next/core/libcgroup/libcgroup-0.37-r1.smage2
Parent Directory | Revision Log
Revision 7838 -
(hide annotations)
(download)
Wed Jun 1 20:16:52 2011 UTC (13 years ago) by niro
File size: 797 byte(s)
Wed Jun 1 20:16:52 2011 UTC (13 years ago) by niro
File size: 797 byte(s)
auto added: ver bump to 0.37-r1
1 | niro | 7838 | # $Id$ |
2 | |||
3 | PNAME="libcgroup" | ||
4 | PVER="0.37" | ||
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 | UP2SUBSTITUTE="v" | ||
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=/$(mlibdir)/security \ | ||
39 | --enable-shared \ | ||
40 | --enable-pam \ | ||
41 | --disable-daemon \ | ||
42 | --disable-tools \ | ||
43 | || die | ||
44 | |||
45 | mmake -j1 || die | ||
46 | } |