mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 13:51:31 +01:00
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sysstat
|
|
pkgver=11.3.1
|
|
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"
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
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="7e8f686c3f3d5824f3c4846c4de3d070 sysstat-11.3.1.tar.xz
|
|
64b8fd8367562adc796aaa5d9b92bcc2 musl-fix-includes.patch"
|
|
sha256sums="ccb1b7c6569dd5ba17b41b7bcae2551cffe2aa8a8bd5293ac2f2b5c35f8e705d sysstat-11.3.1.tar.xz
|
|
80ba68b5c1cbdeb4fb6e6cd07f1ae32043126602b3c2b0864aefeb5523a3d7d5 musl-fix-includes.patch"
|
|
sha512sums="5a977ff6048a971b513d0e59c3361bf9754dd3cbcfeacd367df26af075bd3249f32bff28075da4c13c996a6416cd1fe94397786eebedc4ec706454b40bd58afb sysstat-11.3.1.tar.xz
|
|
183ff89a3a0c3923b436991a2653a133942525b5f45d842ee6ed3546166211cf12828e07dc4ded2d4af8451f049ae75a87fc903a6297791034d6b304c6ef0faf musl-fix-includes.patch"
|