mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Filip Wojciechowski, filip at loka dot pl
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - changes to build Cortex-A8/A9 tools
|
|
|
|
buildarch=4
|
|
|
|
pkgname=cpuburn
|
|
pkgver=1.4a
|
|
pkgrel=6
|
|
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'
|
|
'30f0eb72a0cb061955ab8dee8551d451')
|
|
|
|
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"
|
|
}
|