void-packages/srcpkgs/llvm-libunwind/template

31 lines
795 B
Bash

# Template file for 'llvm-libunwind'
pkgname=llvm-libunwind
version=3.9.1
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=0b0bc73264d7ab77d384f8a7498729e3c4da8ffee00e1c85ad02a2f85e91f0e6
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"
}
}