blob: 7c9dc2cf2f687b33e5a118686c1169b901fdef3b (
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
28
29
30
31
32
33
34
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atomic-ops
_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"
license="GPL"
depends=""
makedepends=""
install=
subpackages=
source="http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-$_realver.tar.gz"
_builddir="$srcdir"/libatomic_ops-${_realver}
build() {
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="e82723a24fd846fe37bd6a03728776e1 libatomic_ops-7.2alpha4.tar.gz"
|