33 lines
833 B
Bash
33 lines
833 B
Bash
# Template file for 'llvm-libunwind'
|
|
pkgname=llvm-libunwind
|
|
version=4.0.1
|
|
revision=2
|
|
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=3b072e33b764b4f9b5172698e080886d1f4d606531ab227772a7fc08d6a92555
|
|
|
|
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"
|
|
}
|
|
}
|