mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-13 12:41:50 +01:00
35 lines
835 B
Plaintext
35 lines
835 B
Plaintext
# 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"
|