# Template file for 'libstatgrab' pkgname=libstatgrab version=0.92.1 revision=1 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="autoconf" makedepends="ncurses-devel" short_desc="Library being useful interface to system statistics" maintainer="Orphaned " license="LGPL-2.1-or-later, GPL-2.0-or-later" homepage="http://www.i-scream.org/libstatgrab" distfiles="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/${pkgname}/${pkgname}-${version}.tar.gz" checksum=5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11 case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS="-DLINUX -DHAVE_PROCFS" ;; esac pre_configure() { autoconf } libstatgrab-devel_package() { depends="${sourcepkg}-${version}_${revision}" short_desc+=" -- development files" pkg_install() { vmove usr/bin/statgrab-make* vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" vmove usr/share/man/man3 } }