void-packages/srcpkgs/libstatgrab/template

34 lines
1001 B
Plaintext

# Template file for 'libstatgrab'
pkgname=libstatgrab
version=0.17
revision=2
build_style=gnu-configure
configure_args="--disable-static"
makedepends="ncurses-devel"
short_desc="Library being useful interface to system statistics"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.i-scream.org/libstatgrab"
license="LGPL-2.1, GPL-2"
distfiles="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=bbaa88c6bde8bd3cf2720b81a26528cc055a7e83e4ea3bdb1d0a3c4287cceb88
long_desc="
libstatgrab is a library which provides an easy to use interface for
accessing system statistics. Available statistics include CPU, Load,
Memory, Swap, Disk I/O, and Network I/O."
libstatgrab-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libstatgrab_package() {
pkg_install() {
vmove usr
}
}