2014-01-30 11:03:24 +01:00
|
|
|
# Template file for 'libatomic_ops'
|
|
|
|
pkgname=libatomic_ops
|
2015-06-06 17:51:43 +02:00
|
|
|
version=7.4.2
|
2014-01-30 11:03:24 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${version/e/}"
|
|
|
|
build_style=gnu-configure
|
2015-06-06 17:51:43 +02:00
|
|
|
configure_args="--enable-shared --enable-static"
|
2014-01-30 11:03:24 +01:00
|
|
|
hostmakedepends="automake libtool"
|
|
|
|
short_desc="Provides semi-portable access to hardware provided atomic memory operations"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-01-30 11:03:24 +01:00
|
|
|
license="GPL-2, MIT"
|
|
|
|
homepage="https://github.com/ivmai/libatomic_ops"
|
2015-06-06 17:51:43 +02:00
|
|
|
distfiles="http://www.ivmaisoft.com/_bin/atomic_ops/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=04fa615f62992547bcbda562260e28b504bc4c06e2f985f267f3ade30304b5dd
|
2014-01-30 11:03:24 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
libatomic_ops-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|