[arch-commits] Commit in libc++ (5 files)

Daniel Micay thestinger at nymeria.archlinux.org
Mon Jul 15 00:39:25 UTC 2013


    Date: Monday, July 15, 2013 @ 02:39:25
  Author: thestinger
Revision: 94141

add libc++abi

Added:
  libc++abi/
  libc++abi/repos/
  libc++abi/trunk/
  libc++abi/trunk/PKGBUILD
Modified:
  libc++/trunk/PKGBUILD

--------------------+
 abi/trunk/PKGBUILD |   29 +++++++++++++++++++++++++++++
 trunk/PKGBUILD     |    8 +++-----
 2 files changed, 32 insertions(+), 5 deletions(-)

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2013-07-15 00:32:47 UTC (rev 94140)
+++ trunk/PKGBUILD	2013-07-15 00:39:25 UTC (rev 94141)
@@ -13,13 +13,11 @@
 md5sums=('SKIP')
 
 build() {
-  _gcc_include_dir=/usr/include/c++/$(gcc -dumpversion)
-  _gcc_platform_include_dir=$_gcc_include_dir/$(gcc -dumpmachine)
   mkdir -p libcxx-${pkgver}.src/build
   cd libcxx-${pkgver}.src/build
-  cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libsupc++ \
-    -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="${_gcc_include_dir};${_gcc_platform_include_dir}" \
-    -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "${srcdir}/libcxx-${pkgver}.src"
+  CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libcxxabi \
+    -DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/usr/include \
+    -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}.src"
   make
 }
 package() {

Added: abi/trunk/PKGBUILD
===================================================================
--- abi/trunk/PKGBUILD	                        (rev 0)
+++ abi/trunk/PKGBUILD	2013-07-15 00:39:25 UTC (rev 94141)
@@ -0,0 +1,29 @@
+# Maintainer: Benno Fünfstück <pyhaxor at googlemail.com>
+
+pkgname=libcxxabi
+pkgver=3.2
+pkgrel=1
+pkgdesc='A new implementation of low level support for a standard C++ library'
+arch=('i686' 'x86_64')
+url="http://libcxxabi.llvm.org/"
+license=('MIT' 'custom:University of Illinois/NCSA Open Source License')
+makedepends=('subversion' 'libunwind' 'clang' )
+source=(svn+https://llvm.org/svn/llvm-project/libcxxabi/branches/release_32)
+md5sums=(SKIP)
+
+_svntrunk=http://llvm.org/svn/llvm-project/libcxxabi/branches/release_32
+_svnmod=libcxxabi
+
+build() {
+  cd release_32/lib
+  ./buildit
+}
+
+package() {
+  cd release_32
+  install -Dm644 lib/libc++abi.so.1.0 "$pkgdir/usr/lib/libc++abi.so.1.0"
+  ln -s /usr/lib/libc++abi.so.1.0 "$pkgdir/usr/lib/libc++abi.so.1"
+  ln -s /usr/lib/libc++abi.so.1.0 "$pkgdir/usr/lib/libc++abi.so"
+  install -Dm644 include/* "$pkgdir/usr/include"
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list