New package: libcxxabi-3.8.0

This commit is contained in:
Christian Neukirchen 2016-03-14 22:24:36 +01:00
parent a87e6aa09e
commit 869f48fb36
4 changed files with 47 additions and 0 deletions

View File

@ -2399,3 +2399,4 @@ libib_util.so libfbclient-2.5.5.26952_1
libgds.so.0 libfbclient-2.5.5.26952_1
libqxmpp.so.0 qxmpp-0.9.3_1
libunwind.so.1 llvm-libunwind-3.8.0_1
libc++abi.so.1 libcxxabi-3.8.0_1

1
srcpkgs/libcxxabi-devel Symbolic link
View File

@ -0,0 +1 @@
libcxxabi

View File

@ -0,0 +1,44 @@
# Template file for 'libcxxiabi'
pkgname=libcxxabi
version=3.8.0
revision=1
wrksrc="${pkgname}-${version}.src"
build_style=cmake
configure_args="-DLIBCXXABI_LIBCXX_INCLUDES=../libcxx/include"
make_build_args="VERBOSE=1"
hostmakedepends="cmake"
makedepends="llvm llvm-libunwind-devel"
LDFLAGS="-Wl,--no-as-needed -lunwind -Wl,--as-needed"
short_desc="Low-level support for libc++ standard library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://libcxxabi.llvm.org"
license="BSD"
distfiles="http://www.llvm.org/releases/${version}/${pkgname}-${version}.src.tar.xz
http://www.llvm.org/releases/${version}/libcxx-${version}.src.tar.xz"
checksum="c5ee0871aff6ec741380c4899007a7d97f0b791c81df69d25b744eebc5cee504
36804511b940bc8a7cefc7cb391a6b28f5e3f53f6372965642020db91174237b"
nocross=yes # FIXME
post_extract() {
# Break dependency cycle, we just need the headers here
mv ../libcxx-${version}.src libcxx
# For musl
sed -i 's/!defined(_GCC_MAX_ALIGN_T)/& \&\& !defined(__DEFINED_max_align_t)/' libcxx/include/stddef.h
}
post_install() {
vmkdir usr/include
vcopy include/* usr/include
vlicense LICENSE.TXT
}
libcxxabi-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/include"
}
}

1
srcpkgs/libcxxabi/update Normal file
View File

@ -0,0 +1 @@
site="http://www.llvm.org/releases/download.html"