diff options
Diffstat (limited to 'sci-libs/votca-tools')
-rw-r--r-- | sci-libs/votca-tools/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/votca-tools/votca-tools-1.4.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-libs/votca-tools/Manifest b/sci-libs/votca-tools/Manifest index dddd7954bc72..fecced8db2cd 100644 --- a/sci-libs/votca-tools/Manifest +++ b/sci-libs/votca-tools/Manifest @@ -1 +1,2 @@ +DIST votca-tools-1.4.1.tar.gz 103152 SHA256 c33a1e7cda3a53d51188d6f0452ddbd9a84141df0a1645c99cfebd3694646b26 SHA512 19165be7c9903cb664051a6556f9fd689b02af71156f040960008e8d74e4a32adfe283c67eb7b53c8bdc6ae6f72516ad0b674d9f2b3354ca50f082b1651dafef WHIRLPOOL 5996c3d264964b8347a057d5ac11a782ebd5bfaf513f9a4e196b957bed01c08993ca12b3a11a1a4b21f4a1600861c6101dade39575c06265d40cfe400e424d01 DIST votca-tools-1.4.tar.gz 103102 SHA256 df0f96e81a1639eba9e4dce61c28bb08e69c371fb727b4d14c66f5771f22e2fb SHA512 7c4bf2e2ba8cf795f03879138787db3875f48db56b88394c98b18cef0ae90e636d8aafff42eb62a408df06a91583e37e59b33440e83de9f4338295e9ccfc9be5 WHIRLPOOL ae2d51c46442d8089a6f2d84e73c14d675704caee863e70093ba5182451c2987b9428b554f85c4d07b3062cbdf5ddcfd8a90f080333ae65baa97c4a3b300eb54 diff --git a/sci-libs/votca-tools/votca-tools-1.4.1.ebuild b/sci-libs/votca-tools/votca-tools-1.4.1.ebuild new file mode 100644 index 000000000000..2a2c4d6860c4 --- /dev/null +++ b/sci-libs/votca-tools/votca-tools-1.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://github.com/${PN/-//}.git" + KEYWORDS="~amd64 ~x86" +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 +} |