Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/libcgroup/libcgroup-0.41-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15012 - (hide annotations) (download)
Thu Aug 6 13:03:07 2020 UTC (3 years, 9 months ago) by niro
File size: 801 byte(s)
-release branches/alx07x-stable
1 niro 14032 # $Id$
2    
3     PNAME="libcgroup"
4     PVER="0.41"
5     PBUILD="r5"
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.6
15     >= sys-dev/bison-2.6"
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     }