APP=sysstat
VERSION=12.2.2
BUILD=1sml
HOMEPAGE='http://sebastien.godard.pagesperso-orange.fr/'
DOWNLOAD="https://github.com/sysstat/sysstat/archive/refs/tags/v12.2.2.tar.gz"
DESC="System performance monitoring tools"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION 
  rm -rf tests/root* 
  fixbuilddirpermissions

  ./configure \
    --prefix="/" \
    --sysconfdir=/etc \
    --disable-nls 

  make
  make install DESTDIR=$PKG 

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
4faaf3f062aac1b46db3bce697f7b2e1d41ca525c01c8af763d5f4b6b81b34db4e1ac56d1ae2cec32628a37c4a3a4fe92570e5870b8600ea1683b0abf923eb38  sysstat-12.2.2.tar.xz
"
