void-packages/srcpkgs/libstatgrab/template

24 lines
772 B
Bash

# Template file for 'libstatgrab'
pkgname=libstatgrab
version=0.91
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="ncurses-devel"
short_desc="Library being useful interface to system statistics"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=03e9328e4857c2c9dcc1b0347724ae4cd741a72ee11acc991784e8ef45b7f1ab
libstatgrab-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}