From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69FD0138331 for ; Fri, 2 Sep 2016 21:40:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37F0221C080; Fri, 2 Sep 2016 21:40:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7985521C08B for ; Fri, 2 Sep 2016 21:40:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFF6F340B3F for ; Fri, 2 Sep 2016 21:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C54AF2475 for ; Fri, 2 Sep 2016 21:40:07 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1472852405.2113d786733d37734c7870094be25864cb77e3e7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/llvm-libunwind/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild X-VCS-Directories: sys-libs/llvm-libunwind/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2113d786733d37734c7870094be25864cb77e3e7 X-VCS-Branch: master Date: Fri, 2 Sep 2016 21:40:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 317c06d8-c8a5-48ae-a542-df76514a228a X-Archives-Hash: 2a4703f39bf3fdafa3cd234d287f1674 commit: 2113d786733d37734c7870094be25864cb77e3e7 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 1 20:57:14 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 2 21:40:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2113d786 sys-libs/llvm-libunwind: Add a live ebuild sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild new file mode 100644 index 00000000..1dc0656 --- /dev/null +++ b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +CMAKE_MIN_VERSION=3.4.3 +inherit cmake-utils git-r3 + +DESCRIPTION="C++ runtime stack unwinder from LLVM" +HOMEPAGE="https://github.com/llvm-mirror/libunwind" +SRC_URI="" +EGIT_REPO_URI="http://llvm.org/git/libunwind.git + https://github.com/llvm-mirror/libunwind.git" + +LICENSE="|| ( UoI-NCSA MIT )" +SLOT="0" +KEYWORDS="" +IUSE="debug +static-libs" + +RDEPEND="!sys-libs/libunwind" +# llvm-config and cmake files needed to get proper flags +DEPEND=">=sys-devel/llvm-3.8.1-r2" + +src_configure() { + local libdir=$(get_libdir) + + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug) + -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs) + ) + + cmake-utils_src_configure +}