summaryrefslogtreecommitdiffstats
path: root/testing/atomic-ops/APKBUILD
blob: aff442f512269588cfe42cb8f85b8e9d3a149e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atomic-ops
pkgver=1.2_p20080819
_realver=1.2+cvs20080819
pkgrel=0
pkgdesc="A library for atomic operations"
url="http://www.hpl.hp.com/research/linux/atomic_ops/download.php4"
license="GPL"
depends=""
makedepends=""
install=
subpackages=
source="http://ftp.de.debian.org/debian/pool/main/liba/libatomic-ops/libatomic-ops_$_realver.orig.tar.gz"

build() {
	cd "$srcdir"/libatomic_ops-${pkgver%_p*}

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="bf26c062f28796e3daaab586a38abec1  libatomic-ops_1.2+cvs20080819.orig.tar.gz"