Magellan Linux

Annotation of /branches/R11-stable/core/libcgroup/libcgroup-0.41-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20794 - (hide annotations) (download)
Tue Feb 11 09:49:11 2014 UTC (10 years, 4 months ago) by niro
File size: 796 byte(s)
-release branches/R11-stable
1 niro 20542 # $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     }