summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2016-08-19 15:30:15 -0600
committerChristoph Junghans <ottxor@gentoo.org>2016-08-19 15:59:36 -0600
commit6a46455ead3896a8fdc4f3895569f4fbb690117e (patch)
tree6782cced7177e4b728e27f14fd106bcc88dc3795 /sci-libs
parentnet-im/ejabberd: Restrict Erlang version for ejabberd-2.1 (diff)
downloadgentoo-6a46455ead3896a8fdc4f3895569f4fbb690117e.tar.gz
gentoo-6a46455ead3896a8fdc4f3895569f4fbb690117e.tar.bz2
gentoo-6a46455ead3896a8fdc4f3895569f4fbb690117e.zip
sci-libs/votca-tools: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/votca-tools/Manifest1
-rw-r--r--sci-libs/votca-tools/votca-tools-1.3.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/sci-libs/votca-tools/Manifest b/sci-libs/votca-tools/Manifest
index d99e5ae05a6c..777546bf2b8f 100644
--- a/sci-libs/votca-tools/Manifest
+++ b/sci-libs/votca-tools/Manifest
@@ -1,2 +1,3 @@
DIST votca-tools-1.2.4_pristine.tar.gz 84836 SHA256 acb5545c7cbdf8f8dbad6645f553e90e5dfa979e5f662f56696f73fc5a957c55 SHA512 65e780cbedf9b9001f3d704d7d45a8272cd995f21cea7a31a446a0e040c803994ff9aea2a884a2c5c972cef9b980434cb8e2bbcef8b96cfb31e178d95ddb0f45 WHIRLPOOL a8a341349ac3d36b9f331c57cfcc62c1995ca71fcec035dab098438cbbc1a2c6a80ed50d048e8673333af352723352a2af9aed41411e43e4d9e40cfbedf362ca
+DIST votca-tools-1.3.1.tar.gz 96920 SHA256 3a1d612c2dbf4e82c35201d1ae5f9aa064c64b88568df6b098bd54375a23e9fe SHA512 591d6fb6f10397451c60df24f72dcb46d9a9ae40c10152956b7c319394d52559253e74f481cf71bbe43a6b17255c6c8a42c4d8f3bae8fc12807430e108908cd2 WHIRLPOOL 1bd8aaf740ea0c6371d8c6ec76b57b7d1348712912ae36dc8481537cbd6fc688af0903a8c2461a5fea0c2fc3bd63c9999d262e62cb0932f5162fde3a1d771c0c
DIST votca-tools-1.3.tar.gz 96908 SHA256 ecacfb46b645f69fa0bb9f40408c9211fa09a02dd47bcb4adb069cf7e3f60348 SHA512 c6b69d5bae234b9af9c469db4203d3c7e4f57e18486ac69665b2a24b9c5fd74ec007a88c491b6439d36849346468fde8748c62ce54c63f462a58f1b6bc9b5993 WHIRLPOOL 540db48b417698a42dc34406d15d84a34a1b798ac70a4916c73fdb964218705a1c5f7ecec660d09fcf5844230a5aab6d498a7972261b320696bb0502da267a4e
diff --git a/sci-libs/votca-tools/votca-tools-1.3.1.ebuild b/sci-libs/votca-tools/votca-tools-1.3.1.ebuild
new file mode 100644
index 000000000000..34b0cd25a639
--- /dev/null
+++ b/sci-libs/votca-tools/votca-tools-1.3.1.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
+}