void-packages/srcpkgs/llvm-libunwind/template
2020-05-09 01:31:21 +02:00

33 lines
880 B
Bash

# Template file for 'llvm-libunwind'
pkgname=llvm-libunwind
version=10.0.0
revision=1
build_style=cmake
wrksrc="libunwind-${version}.src"
hostmakedepends="llvm10"
makedepends="llvm10"
make_build_args="VERBOSE=1"
short_desc="LLVM version of libunwind library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="NCSA, MIT"
homepage="https://llvm.org"
distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/libunwind-${version}.src.tar.xz"
checksum=09dc5ecc4714809ecf62908ae8fe8635ab476880455287036a2730966833c626
post_install() {
vmkdir usr/include
vcopy include/* usr/include
vlicense LICENSE.TXT LICENSE
}
llvm-libunwind-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
conflicts="libunwind-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}