mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
20 lines
702 B
Bash
20 lines
702 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
pkgname=libatomic_ops
|
|
pkgver=1.2
|
|
pkgrel=1
|
|
pkgdesc="Provides semi-portable access to hardware provided atomic memory operations"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.hpl.hp.com/research/linux/atomic_ops"
|
|
license=('GPL2' 'MIT')
|
|
depends=()
|
|
source=(http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-$pkgver.tar.gz)
|
|
md5sums=('1b65e48271c81e3fa2d7a9a69bab7504')
|
|
|
|
build() {
|
|
cd $startdir/src/libatomic_ops-$pkgver
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
install -D -m644 doc/LICENSING.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|
}
|