void-packages/srcpkgs/libatomic_ops/template
2015-06-06 17:53:15 +02:00

29 lines
854 B
Bash

# Template file for 'libatomic_ops'
pkgname=libatomic_ops
version=7.4.2
revision=1
wrksrc="${pkgname}-${version/e/}"
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
hostmakedepends="automake libtool"
short_desc="Provides semi-portable access to hardware provided atomic memory operations"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, MIT"
homepage="https://github.com/ivmai/libatomic_ops"
distfiles="http://www.ivmaisoft.com/_bin/atomic_ops/${pkgname}-${version}.tar.gz"
checksum=04fa615f62992547bcbda562260e28b504bc4c06e2f985f267f3ade30304b5dd
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"
}
}