void-packages/srcpkgs/llvm-libunwind/template

31 lines
801 B
Bash

# Template file for 'llvm-libunwind'
pkgname=llvm-libunwind
version=3.9.0
revision=1
build_style=cmake
wrksrc="libunwind-${version}.src"
hostmakedepends="cmake 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=66675ddec5ba0d36689757da6008cb2596ee1a9067f4f598d89ce5a3b43f4c2b
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"
}
}