aboutsummaryrefslogtreecommitdiffstats
path: root/main/sysstat/APKBUILD
blob: a0d076630b57c89363b4048ece7c4e6377dcc27e (plain)
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
35
36
37
38
39
40
41
42
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sysstat
pkgver=11.5.4
pkgrel=0
pkgdesc="iA Performance monitoring tools"
url="http://pagesperso-orange.fr/sebastien.godard/"
arch="all"
license="GPL2+"
depends=
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="http://pagesperso-orange.fr/sebastien.godard/sysstat-$pkgver.tar.xz
	musl-fix-includes.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install

}

md5sums="f16ae8edd462f5199ee033f7c0e2c197  sysstat-11.5.4.tar.xz
64b8fd8367562adc796aaa5d9b92bcc2  musl-fix-includes.patch"
sha256sums="1e1008656575e70486b456e79775e98d3b8732d7e2cb408559209bd0318e0807  sysstat-11.5.4.tar.xz
80ba68b5c1cbdeb4fb6e6cd07f1ae32043126602b3c2b0864aefeb5523a3d7d5  musl-fix-includes.patch"
sha512sums="323c6239dadb0608aae0a98407a61ef5a3ef25f181b5442e285fa77c787fafb7a650936d48a5f4e45caabed76e657d956d28a5bc7a53e8f9a607793ed7c0f3f5  sysstat-11.5.4.tar.xz
183ff89a3a0c3923b436991a2653a133942525b5f45d842ee6ed3546166211cf12828e07dc4ded2d4af8451f049ae75a87fc903a6297791034d6b304c6ef0faf  musl-fix-includes.patch"