Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/libcgroup/libcgroup-0.41-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7277 - (show annotations) (download)
Mon Sep 21 08:28:42 2015 UTC (8 years, 7 months ago) by niro
File size: 804 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="libcgroup"
4 PVER="0.41"
5 PBUILD="r3"
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=">= virtual/glibc"
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 alx-split
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 --disable-pam \
41 --disable-daemon \
42 --disable-tools \
43 || die
44
45 mmake -j1 || die
46 }