2016-03-11 15:46:32 +01:00
|
|
|
# Template file for 'llvm-libunwind'
|
|
|
|
pkgname=llvm-libunwind
|
|
|
|
version=3.8.0
|
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
wrksrc="libunwind-${version}.src"
|
2016-03-11 15:52:10 +01:00
|
|
|
hostmakedepends="cmake llvm"
|
2016-03-11 15:46:32 +01:00
|
|
|
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=af3eaf39ecdc3b9e89863fb62e1aa3c135cfde7e9415424e4e396d7486a9422b
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|