vp-build/srcpkgs/llvm-libunwind/template

33 lines
839 B
Bash

# Template file for 'llvm-libunwind'
pkgname=llvm-libunwind
version=6.0.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>"
license="NCSA, MIT"
homepage="http://llvm.org"
distfiles="http://www.llvm.org/releases/${version}/libunwind-${version}.src.tar.xz"
checksum=a8186c76a16298a0b7b051004d0162032b9b111b857fbd939d71b0930fd91b96
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"
}
}