void-packages/srcpkgs/libcgroup/template
2014-08-31 10:35:22 +02:00

32 lines
856 B
Bash

# Template file for 'libcgroup'
pkgname=libcgroup
version=0.41
revision=1
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=e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51
libcgroup-utils_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/sbin
vmove usr/share/man
}
}
libcgroup-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}