aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-05 07:23:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-05 07:23:34 +0000
commit218e723c710e9fd3ccaf38c7a80fbb3b002f6db3 (patch)
treedaba8d9dbeddccb0c684b3d159a71a5b54defc87
parent332c2c3214845397d84acea4778c33fc0ecfc7e3 (diff)
downloadaports-218e723c710e9fd3ccaf38c7a80fbb3b002f6db3.tar.bz2
aports-218e723c710e9fd3ccaf38c7a80fbb3b002f6db3.tar.xz
testing/atomic-ops: upgrade to 7.2_alpha4
-rw-r--r--testing/atomic-ops/APKBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/testing/atomic-ops/APKBUILD b/testing/atomic-ops/APKBUILD
index aff442f512..7c9dc2cf2f 100644
--- a/testing/atomic-ops/APKBUILD
+++ b/testing/atomic-ops/APKBUILD
@@ -1,8 +1,10 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atomic-ops
-pkgver=1.2_p20080819
-_realver=1.2+cvs20080819
+_ver=7.2
+_suff=alpha4
+pkgver=${_ver}_${_suff}
+_realver=${_ver}${_suff}
pkgrel=0
pkgdesc="A library for atomic operations"
url="http://www.hpl.hp.com/research/linux/atomic_ops/download.php4"
@@ -11,17 +13,22 @@ depends=""
makedepends=""
install=
subpackages=
-source="http://ftp.de.debian.org/debian/pool/main/liba/libatomic-ops/libatomic-ops_$_realver.orig.tar.gz"
+source="http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-$_realver.tar.gz"
+_builddir="$srcdir"/libatomic_ops-${_realver}
build() {
- cd "$srcdir"/libatomic_ops-${pkgver%_p*}
-
+ cd "$_builddir"
+ chmod +x install-sh
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
}
-md5sums="bf26c062f28796e3daaab586a38abec1 libatomic-ops_1.2+cvs20080819.orig.tar.gz"
+md5sums="e82723a24fd846fe37bd6a03728776e1 libatomic_ops-7.2alpha4.tar.gz"