llvm: add lldb-3.5.1.
This commit is contained in:
parent
8500edddc8
commit
989f351fd6
|
@ -905,6 +905,7 @@ libgtksourceviewmm-3.0.so.0 gtksourceviewmm-3.2.0_1
|
|||
libyajl.so.2 yajl-2.0.1_1
|
||||
libconfuse.so.0 confuse-2.7_1
|
||||
libclang.so clang-3.4.2_1
|
||||
liblldb.so lldb-3.5.1_1
|
||||
libLLVM-3.5.so libllvm-3.5.0_1
|
||||
libisofs.so.6 libisofs-0.6.24_1
|
||||
libbfd-2.22.so binutils-2.22_1<2.23_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
llvm
|
|
@ -0,0 +1 @@
|
|||
llvm
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=llvm
|
||||
version=3.5.1
|
||||
wrksrc="llvm-${version}.src"
|
||||
revision=1
|
||||
revision=2
|
||||
lib32disabled=yes
|
||||
configure_args="--disable-expensive-checks --disable-debug-runtime
|
||||
--enable-bindings=none --enable-optimized --enable-shared --enable-libffi
|
||||
|
@ -15,22 +15,27 @@ homepage="http://www.llvm.org"
|
|||
license="BSD"
|
||||
distfiles="
|
||||
http://www.llvm.org/releases/${version}/llvm-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/lldb-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/cfe-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/compiler-rt-${version}.src.tar.xz"
|
||||
checksum="
|
||||
bf3275d2d7890015c8d8f5e6f4f882f8cf3bf51967297ebe74111d6d8b53be15
|
||||
checksum="bf3275d2d7890015c8d8f5e6f4f882f8cf3bf51967297ebe74111d6d8b53be15
|
||||
e8b948c6c85cd61bd9a48361959401b9c631fa257c0118db26697c5d57460e13
|
||||
6773f3f9cf815631cc7e779ec134ddd228dc8e9a250e1ea3a910610c59eb8f5c
|
||||
adf4b526f33e681aff5961f0821f5b514d3fc375410008842640b56a2e6a837a"
|
||||
|
||||
# XXX Investigate ocaml bindings.
|
||||
hostmakedepends="groff perl python zlib-devel libffi-devel"
|
||||
makedepends="zlib-devel libffi-devel"
|
||||
hostmakedepends="groff perl python zlib-devel libffi-devel swig"
|
||||
makedepends="python-devel zlib-devel libffi-devel libedit-devel"
|
||||
|
||||
post_extract() {
|
||||
# Move clang files into the llvm source.
|
||||
if [ -d ${XBPS_BUILDDIR}/cfe-${version}.src ]; then
|
||||
mv ${XBPS_BUILDDIR}/cfe-${version}.src ${wrksrc}/tools/clang
|
||||
fi
|
||||
# Move lldb files into the llvm source.
|
||||
if [ -d ${XBPS_BUILDDIR}/lldb-${version}.src ]; then
|
||||
mv ${XBPS_BUILDDIR}/lldb-${version}.src ${wrksrc}/tools/lldb
|
||||
fi
|
||||
# Move compiler-rt files into the llvm source.
|
||||
if [ -d ${XBPS_BUILDDIR}/compiler-rt-${version%.*} ]; then
|
||||
mv ${XBPS_BUILDDIR}/compiler-rt-${version%.*} ${wrksrc}/projects/compiler-rt
|
||||
|
@ -63,7 +68,7 @@ do_install() {
|
|||
|
||||
# Fix permissions of static libs
|
||||
chmod -x ${DESTDIR}/usr/lib/*.a
|
||||
|
||||
|
||||
# Get rid of example Hello transformation
|
||||
rm ${DESTDIR}/usr/lib/*LLVMHello.*
|
||||
|
||||
|
@ -117,6 +122,28 @@ clang_package() {
|
|||
}
|
||||
}
|
||||
|
||||
lldb_package() {
|
||||
lib32disabled=yes
|
||||
depends="libstdc++-devel binutils gcc"
|
||||
short_desc+=" - LLDB debugger"
|
||||
homepage="http://lldb.llvm.org/"
|
||||
pkg_install() {
|
||||
vmove "usr/bin/*lldb*"
|
||||
vmove "usr/lib/liblldb*so"
|
||||
vman tools/lldb/docs/lldb.1
|
||||
vmove "/usr/lib/python*"
|
||||
}
|
||||
}
|
||||
|
||||
lldb-devel_package() {
|
||||
depends="lldb>=${version}_${revision}"
|
||||
short_desc+=" - LLDB debugger - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/lldb
|
||||
vmove "usr/lib/liblldb*.a"
|
||||
}
|
||||
}
|
||||
|
||||
llvm-docs_package() {
|
||||
noarch=yes
|
||||
short_desc+=" - documentation files"
|
||||
|
|
Loading…
Reference in New Issue