#Packager: Shador pkgname=stressapptest pkgver=1.0.4 pkgrel=1ab source=("http://stressapptest.googlecode.com/files/stressapptest-${pkgver}_autoconf.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("copying") url='http://code.google.com/p/stressapptest/' # only supports i686 case "$( uname -m )" in i?86) export arch=i686 ;; esac slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Stressful Application Test)" "Stressful Application Test (or stressapptest, its unix name) tries to" "maximize randomized traffic to memory from processor and I/O, with the" "intent of creating a realistic high load situation in order to test" "the existing hardware devices in a computer." ) build() { set -e cd $startdir/src/stressapptest-${pkgver}_autoconf ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver/ \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 install -vD -m644 $startdir/pkg/usr/doc/$pkgname-$pkgver/stressapptest.1 $startdir/pkg/usr/man/man1/stressapptest.1 set +e }