# $Id$ PNAME="libcgroup" PVER="0.41" PBUILD="r5" PCAT="dev-libs" DESCRIPTION="libcg is a library that abstracts the control group file system in Linux." HOMEPAGE="http://libcg.sourceforge.net/" DEPEND=">= virtual/glibc" SDEPEND=">= sys-dev/flex-2.6 >= sys-dev/bison-2.6" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild alx-split msetfeature "!check" SRC_URI=( sourceforge://libcg/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2EXCLUDE=".rc" UP2DATE="updatecmd_sourceforge libcg ${PNAME}" src_compile() { cd ${SRCDIR} # disabled atm, breaks the built # --disable-debug mconfigure \ --enable-pam-module-dir=/usr/$(mlibdir)/security \ --enable-shared \ --disable-pam \ --disable-daemon \ --disable-tools \ || die mmake -j1 || die }