void-packages/srcpkgs/libatomic_ops/template

28 lines
792 B
Bash

# Template file for 'libatomic_ops'
pkgname=libatomic_ops
version=7.8.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
short_desc="Semi-portable access to hardware provided atomic memory operations"
maintainer="Ivan Maidanski <ivmai@mail.ru>"
license="GPL-2.0-or-later, MIT"
homepage="https://github.com/ivmai/libatomic_ops"
distfiles="${homepage}/releases/download/v${version}/libatomic_ops-${version}.tar.gz"
checksum=15676e7674e11bda5a7e50a73f4d9e7d60452271b8acf6fd39a71fefdf89fa31
post_install() {
vlicense LICENSE
}
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"
}
}