33 lines
844 B
Bash
33 lines
844 B
Bash
# Template file for 'llvm-libunwind'
|
|
pkgname=llvm-libunwind
|
|
version=9.0.0
|
|
revision=1
|
|
build_style=cmake
|
|
wrksrc="libunwind-${version}.src"
|
|
hostmakedepends="llvm9"
|
|
makedepends="llvm9"
|
|
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://www.llvm.org/releases/${version}/libunwind-${version}.src.tar.xz"
|
|
checksum=976a8d09e1424fb843210eecec00a506b956e6c31adda3b0d199e945be0d0db2
|
|
|
|
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"
|
|
}
|
|
}
|