forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |