# $Id$ # Maintainer: Sergej Pupykin # Contributor: Filip Wojciechowski, filip at loka dot pl # ALARM: Kevin Mihelich # - changes to build Cortex-A8/A9 tools buildarch=4 pkgname=cpuburn pkgver=1.4a pkgrel=5 pkgdesc="CPU testing utilities in optimized assembler for maximum loading of CPUs" arch=('x86_64') url="https://launchpad.net/ubuntu/+source/cpuburn/" license=('GPL') depends=() source=("https://launchpad.net/ubuntu/+archive/primary/+files/cpuburn_$pkgver.orig.tar.gz" cpuburn.patch) md5sums=('a9e1df40c660324eb08e91847cbc41b9' 'f3c77db7592ac02ee83958f07ceb8986') build() { cd "$srcdir/$pkgname-$pkgver" patch -Np1 -i ../cpuburn.patch make -C ARM CC=gcc } package() { cd "$srcdir/$pkgname-$pkgver" install -Dm755 ARM/burnCortexA8 $pkgdir/usr/bin/burnCortexA8 install -Dm755 ARM/burnCortexA9 $pkgdir/usr/bin/burnCortexA9 install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README" install -Dm644 Design "$pkgdir/usr/share/doc/$pkgname/Design" }