summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/atomic-ops/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/atomic-ops/APKBUILD b/testing/atomic-ops/APKBUILD
new file mode 100644
index 000000000..aff442f51
--- /dev/null
+++ b/testing/atomic-ops/APKBUILD
@@ -0,0 +1,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"