void-packages/srcpkgs/libcgroup/template

37 lines
926 B
Text
Raw Normal View History

2011-11-05 08:39:57 +00:00
# Template file for 'libcgroup'
pkgname=libcgroup
2012-08-09 07:33:49 +00:00
version=0.38
revision=2
2011-11-05 08:39:57 +00:00
build_style=gnu-configure
2012-08-09 07:33:49 +00:00
configure_args="--enable-pam-module-dir=/usr/lib/security"
hostmakedepends="flex"
makedepends="pam-devel"
2011-11-05 08:39:57 +00:00
short_desc="Library that abstracts the control group file system in Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
2012-08-09 07:33:49 +00:00
homepage="http://libcg.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/libcg/$pkgname-$version.tar.bz2"
checksum=5d36d1a48b95f62fe9fcdf74a5a4089512e5e43e6011aa1504fd6f2a0909867f
2011-11-05 08:39:57 +00:00
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="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libcgroup_package() {
pkg_install() {
vmove usr
}
}