sci-libs/votca-tools: version bump
authorChristoph Junghans <ottxor@gentoo.org>
Thu, 24 Sep 2015 04:59:10 +0000 (22:59 -0600)
committerChristoph Junghans <ottxor@gentoo.org>
Thu, 24 Sep 2015 05:21:03 +0000 (23:21 -0600)
Package-Manager: portage-2.2.20.1

sci-libs/votca-tools/Manifest
sci-libs/votca-tools/votca-tools-1.3_rc1.ebuild [new file with mode: 0644]

index 55f9c815271c6519ae6df61d3da53a569ee41a89..e396448ed0ad87fad95829c871fdbbccf5819286 100644 (file)
@@ -1,3 +1,4 @@
 DIST votca-tools-1.2.2.tar.gz 987104 SHA256 26eb8b97944844cecbfeb4609091af223c5b912696492bda8347b8f98ad543be SHA512 10710323fc3a20748d6af97b5408829b31ce31c4358147232c851986e6cfcaed886574ea261a660e49b6914e893d24af390b0acb744506e730b0df8249e30680 WHIRLPOOL c6209b201f69d5e68b4b74c1b9ca5c552f4c4ad39cfc90b19f5034563a4c9309947f139515510ddd3cdf4f9eec70d0fb5ee0c1c3a40be7ce7141fff64b69896a
 DIST votca-tools-1.2.2_pristine.tar.gz 85442 SHA256 23e53ea7d462ced18dde8a5795c4e1dc8c05084c18deb50663023c270314eb28 SHA512 5245e9fdeaedc28fca211378f088636720c83511592a6e34b92f07d465692c7d2305a40ee111726a9ddf2d11e82a8f34ee9c3345e151780276d7679149857e7d WHIRLPOOL b792be3c2e2dc935b7ecbb40740fdba33afafe22ae0249b18eda36826c98f38345c7cc6513fe72db31ba53f61e7b93fbc1459ceec76b2959f774ba035cf63c60
 DIST votca-tools-1.2.4_pristine.tar.gz 84836 SHA256 acb5545c7cbdf8f8dbad6645f553e90e5dfa979e5f662f56696f73fc5a957c55 SHA512 65e780cbedf9b9001f3d704d7d45a8272cd995f21cea7a31a446a0e040c803994ff9aea2a884a2c5c972cef9b980434cb8e2bbcef8b96cfb31e178d95ddb0f45 WHIRLPOOL a8a341349ac3d36b9f331c57cfcc62c1995ca71fcec035dab098438cbbc1a2c6a80ed50d048e8673333af352723352a2af9aed41411e43e4d9e40cfbedf362ca
+DIST votca-tools-1.3_rc1.tar.gz 96959 SHA256 d9cfdeab9ad69bdd81e5cf26ba803e518442a4c6e3f9c853fcc233e173f00a33 SHA512 dcad8c845496427744b1b9dcde54cd715591f030bd3c737098293c5b9dcf2e12a3ddbf435f9c74528e12dbd030a5fac914c37d4212ccb8e3627c6dc45c300487 WHIRLPOOL 24673373506ee9f2cdcddddb8d6ed9dfa6b9e13ee19f9be6e739fe10360be5e769e933c906b166fed6684f9282d3a492969208e2d2010534f17a2750261aab48
diff --git a/sci-libs/votca-tools/votca-tools-1.3_rc1.ebuild b/sci-libs/votca-tools/votca-tools-1.3_rc1.ebuild
new file mode 100644 (file)
index 0000000..4dae0bf
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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=(
+               $(cmake-utils_use_with gsl GSL)
+               $(cmake-utils_use_with fftw FFTW)
+               $(cmake-utils_use_with sqlite SQLITE3)
+               -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
+               dohtml -r share/doc/html/*
+       fi
+}