void-packages/srcpkgs/libcgroup/template

31 lines
857 B
Plaintext

# Template file for 'libcgroup'
pkgname=libcgroup
version=0.38
revision=2
build_style=gnu-configure
configure_args="--enable-pam-module-dir=/usr/lib/security"
hostmakedepends="flex"
makedepends="pam-devel"
short_desc="Library that abstracts the control group file system in Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://libcg.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/libcg/$pkgname-$version.tar.bz2"
checksum=5d36d1a48b95f62fe9fcdf74a5a4089512e5e43e6011aa1504fd6f2a0909867f
long_desc="
${pkgname} aims to provide programmers easily usable APIs to use the
control group file system."
if [ "$CROSS_BUILD" ]; then
makedepends+=" libfl-devel"
fi
libcgroup-devel_package() {
depends="libcgroup>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}