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 3AF27138308 for ; Thu, 14 Jul 2016 17:30:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF42421C185; Thu, 14 Jul 2016 17:30:35 +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 D6E6921C11C for ; Thu, 14 Jul 2016 17:30:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 49C16340CAC for ; Thu, 14 Jul 2016 17:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2C51244A for ; Thu, 14 Jul 2016 17:30:30 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1468517422.2fbbafef94953e4a52c7ff37f8a517971ae16072.ottxor@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/votca-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/votca-tools/votca-tools-9999.ebuild X-VCS-Directories: sci-libs/votca-tools/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 2fbbafef94953e4a52c7ff37f8a517971ae16072 X-VCS-Branch: master Date: Thu, 14 Jul 2016 17:30:30 +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: 7f84371c-6654-4b7b-a2c9-0f88e28fbae1 X-Archives-Hash: 8865613339dc13f16389f98fac6452ad commit: 2fbbafef94953e4a52c7ff37f8a517971ae16072 Author: Christoph Junghans gentoo org> AuthorDate: Thu Jul 14 17:27:43 2016 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Thu Jul 14 17:30:22 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fbbafef sci-libs/votca-tools: import live ebuild from sci Package-Manager: portage-2.2.28 sci-libs/votca-tools/votca-tools-9999.ebuild | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/sci-libs/votca-tools/votca-tools-9999.ebuild b/sci-libs/votca-tools/votca-tools-9999.ebuild new file mode 100644 index 0000000..34b0cd2 --- /dev/null +++ b/sci-libs/votca-tools/votca-tools-9999.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +CMAKE_MAKEFILE_GENERATOR="ninja" + +inherit cmake-utils eutils multilib + +if [ "${PV}" != "9999" ]; then + SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" + S="${WORKDIR}/${P#votca-}" +else + inherit git-r3 + EGIT_REPO_URI="git://github.com/${PN/-//}.git https://github.com/${PN/-//}.git" + KEYWORDS="" +fi + +DESCRIPTION="Votca tools library" +HOMEPAGE="http://www.votca.org" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc +fftw +gsl sqlite" + +RDEPEND=" + dev-libs/boost:= + dev-libs/expat + fftw? ( sci-libs/fftw:3.0 ) + gsl? ( sci-libs/gsl ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + doc? ( >=app-doc/doxygen-1.7.6.1[dot] ) + >=app-text/txt2tags-2.5 + virtual/pkgconfig" + +DOCS=( NOTICE ) + +src_configure() { + mycmakeargs=( + -DWITH_GSL=$(usex gsl) + -DWITH_FFTW=$(usex fftw) + -DWITH_SQLITE3=$(usex sqlite) + -DWITH_RC_FILES=OFF + -DLIB=$(get_libdir) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if use doc; then + cd "${CMAKE_BUILD_DIR}" + cmake-utils_src_make html + dodoc -r share/doc/html + fi +}