diff options
-rw-r--r-- | testing/atomic-ops/APKBUILD | 19 |
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" |