-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
34 lines (31 loc) · 964 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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 <orphan@voidlinux.org>"
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
}
}