[arch-commits] Commit in libc++/repos (6 files)

Daniel Micay thestinger at nymeria.archlinux.org
Mon Jul 15 02:59:28 UTC 2013


    Date: Monday, July 15, 2013 @ 04:59:28
  Author: thestinger
Revision: 94151

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libc++/repos/community-i686/PKGBUILD
    (from rev 94150, libc++/trunk/PKGBUILD)
  libc++/repos/community-i686/libc++.install
    (from rev 94150, libc++/trunk/libc++.install)
  libc++/repos/community-x86_64/PKGBUILD
    (from rev 94150, libc++/trunk/PKGBUILD)
  libc++/repos/community-x86_64/libc++.install
    (from rev 94150, libc++/trunk/libc++.install)
Deleted:
  libc++/repos/community-i686/libc++.install
  libc++/repos/community-x86_64/libc++.install

---------------------------------+
 /libc++.install                 |   14 ++++++++++++++
 community-i686/PKGBUILD         |   29 +++++++++++++++++++++++++++++
 community-i686/libc++.install   |    7 -------
 community-x86_64/PKGBUILD       |   29 +++++++++++++++++++++++++++++
 community-x86_64/libc++.install |    7 -------
 5 files changed, 72 insertions(+), 14 deletions(-)

Copied: libc++/repos/community-i686/PKGBUILD (from rev 94150, libc++/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-07-15 02:59:28 UTC (rev 94151)
@@ -0,0 +1,29 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: MThinkCpp <mtc.maintainer[at]outlook.com>
+pkgname=libc++
+pkgver=3.3
+pkgrel=3
+pkgdesc='A new implementation of the C++ standard library, targeting C++11.'
+url='http://libcxx.llvm.org'
+license=('custom:University of Illinois/NCSA Open Source License')
+arch=('i686' 'x86_64')
+# gcc-libs needed for libgcc_s, because Arch doesn't use a pure compiler-rt clang
+depends=('glibc' 'libc++abi' 'gcc-libs')
+makedepends=('clang' 'subversion' 'cmake')
+source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz")
+md5sums=('59006e659ffb33f5222a7b79d4cd071e')
+install=${pkgname}.install
+
+build() {
+  mkdir -p libcxx-${pkgver}.src/build
+  cd libcxx-${pkgver}.src/build
+  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() {
+  install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+  cd libcxx-${pkgver}.src/build
+  make DESTDIR="$pkgdir" install
+}

Deleted: community-i686/libc++.install
===================================================================
--- community-i686/libc++.install	2013-07-15 02:58:10 UTC (rev 94150)
+++ community-i686/libc++.install	2013-07-15 02:59:28 UTC (rev 94151)
@@ -1,7 +0,0 @@
-post_install() {
-  echo compile with \`clang -std=c++11 -stdlib=libc++ -lc++abi\` to use libc++
-}
-
-post_upgrade() {
-  post_install
-}

Copied: libc++/repos/community-i686/libc++.install (from rev 94150, libc++/trunk/libc++.install)
===================================================================
--- community-i686/libc++.install	                        (rev 0)
+++ community-i686/libc++.install	2013-07-15 02:59:28 UTC (rev 94151)
@@ -0,0 +1,7 @@
+post_install() {
+  echo compile with \`clang++ -std=c++11 -stdlib=libc++ -lc++abi\` to use libc++
+}
+
+post_upgrade() {
+  post_install
+}

Copied: libc++/repos/community-x86_64/PKGBUILD (from rev 94150, libc++/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-07-15 02:59:28 UTC (rev 94151)
@@ -0,0 +1,29 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: MThinkCpp <mtc.maintainer[at]outlook.com>
+pkgname=libc++
+pkgver=3.3
+pkgrel=3
+pkgdesc='A new implementation of the C++ standard library, targeting C++11.'
+url='http://libcxx.llvm.org'
+license=('custom:University of Illinois/NCSA Open Source License')
+arch=('i686' 'x86_64')
+# gcc-libs needed for libgcc_s, because Arch doesn't use a pure compiler-rt clang
+depends=('glibc' 'libc++abi' 'gcc-libs')
+makedepends=('clang' 'subversion' 'cmake')
+source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz")
+md5sums=('59006e659ffb33f5222a7b79d4cd071e')
+install=${pkgname}.install
+
+build() {
+  mkdir -p libcxx-${pkgver}.src/build
+  cd libcxx-${pkgver}.src/build
+  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() {
+  install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+  cd libcxx-${pkgver}.src/build
+  make DESTDIR="$pkgdir" install
+}

Deleted: community-x86_64/libc++.install
===================================================================
--- community-x86_64/libc++.install	2013-07-15 02:58:10 UTC (rev 94150)
+++ community-x86_64/libc++.install	2013-07-15 02:59:28 UTC (rev 94151)
@@ -1,7 +0,0 @@
-post_install() {
-  echo compile with \`clang -std=c++11 -stdlib=libc++ -lc++abi\` to use libc++
-}
-
-post_upgrade() {
-  post_install
-}

Copied: libc++/repos/community-x86_64/libc++.install (from rev 94150, libc++/trunk/libc++.install)
===================================================================
--- community-x86_64/libc++.install	                        (rev 0)
+++ community-x86_64/libc++.install	2013-07-15 02:59:28 UTC (rev 94151)
@@ -0,0 +1,7 @@
+post_install() {
+  echo compile with \`clang++ -std=c++11 -stdlib=libc++ -lc++abi\` to use libc++
+}
+
+post_upgrade() {
+  post_install
+}




More information about the arch-commits mailing list