31 lines
795 B
Bash
31 lines
795 B
Bash
# Template file for 'llvm-libunwind'
|
|
pkgname=llvm-libunwind
|
|
version=4.0.0
|
|
revision=1
|
|
build_style=cmake
|
|
wrksrc="libunwind-${version}.src"
|
|
hostmakedepends="llvm"
|
|
makedepends="llvm"
|
|
make_build_args="VERBOSE=1"
|
|
short_desc="LLVM version of libunwind library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://llvm.org"
|
|
license="BSD"
|
|
distfiles="http://www.llvm.org/releases/${version}/libunwind-${version}.src.tar.xz"
|
|
checksum=0755efa9f969373d4d543123bbed4b3f9a835f6302875c1379c5745857725973
|
|
|
|
post_install() {
|
|
vmkdir usr/include
|
|
vcopy include/* usr/include
|
|
}
|
|
|
|
llvm-libunwind-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
conflicts="libunwind-devel>=0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|