blob: a1a24c35b88b8f8291ba24aa55bfd51e959648d1 (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libstatgrab
pkgver=0.92
pkgrel=0
pkgdesc="Library for cross-platform access to system statistics."
url="https://www.i-scream.org/libstatgrab"
arch="all"
license="GPL-2.0+ AND LGPL-2.1+"
depends=""
depends_dev="ncurses-dev"
checkdepends="perl"
makedepends="autoconf automake libtool utmps-dev $depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.i-scream.org/pub/i-scream/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$builddir"
LIBS="-lutmps -lskarnet -ltinfo" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-man-build
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="a99c6be56d930779d0d8f6f81e64e2f31e19423009c39e925b39116a42aa2c6037651992ac2168c43a5c6ecadf3e4a58486ab6148cf96118c429b04fdcf65192 libstatgrab-0.92.tar.gz"
|