summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2011-02-12 16:12:08 +0000
committerChristoph Junghans <ottxor@gentoo.org>2011-02-12 16:12:08 +0000
commit8539322f5b2f7a72ad2cb3bfd4233dbed06ffbf1 (patch)
treed3e35d9aabf106665ed3531e6254ead49f11250e /sci-libs
parentstable x86, bug 354237 (diff)
downloadhistorical-8539322f5b2f7a72ad2cb3bfd4233dbed06ffbf1.tar.gz
historical-8539322f5b2f7a72ad2cb3bfd4233dbed06ffbf1.tar.bz2
historical-8539322f5b2f7a72ad2cb3bfd4233dbed06ffbf1.zip
Initial commit (bug #296707)
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/votca-tools/ChangeLog10
-rw-r--r--sci-libs/votca-tools/Manifest18
-rw-r--r--sci-libs/votca-tools/metadata.xml12
-rw-r--r--sci-libs/votca-tools/votca-tools-1.0.1.ebuild65
4 files changed, 105 insertions, 0 deletions
diff --git a/sci-libs/votca-tools/ChangeLog b/sci-libs/votca-tools/ChangeLog
new file mode 100644
index 000000000000..17ef2f14d038
--- /dev/null
+++ b/sci-libs/votca-tools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/votca-tools
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/votca-tools/ChangeLog,v 1.1 2011/02/12 16:12:08 ottxor Exp $
+
+*votca-tools-1.0.1 (12 Feb 2011)
+
+ 12 Feb 2011; Christoph Junghans <ottxor@gentoo.org>
+ +votca-tools-1.0.1.ebuild, +metadata.xml:
+ Initial commit (bug #296707)
+
diff --git a/sci-libs/votca-tools/Manifest b/sci-libs/votca-tools/Manifest
new file mode 100644
index 000000000000..1db4d27c930f
--- /dev/null
+++ b/sci-libs/votca-tools/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST votca-tools-1.0.1.tar.gz 1614718 RMD160 36ef42dd8893e322359de350d63cda881c11aceb SHA1 b3230914df2f09220d327fcbe25ed2c1a75f4add SHA256 edac008ea67b2cb777f4249a2792ea0135f191b853d9f5b65e4bca9836cc4ec3
+EBUILD votca-tools-1.0.1.ebuild 1625 RMD160 b75fbeddee2ae63f43cc2160378a4a24e3a14a69 SHA1 f2a8b985d47bc1cb2b9fd2aca7f5691d42e13964 SHA256 b9d088ae4478148eacbdaac836cd898e65dbe95349c838b3aa9a2b6a1add0967
+MISC ChangeLog 377 RMD160 003b1e187765708b0a67f3db0ae4fef054a6e6f4 SHA1 5fc1ae7f4bff748f4c7f415c5dc84e0082dd41c0 SHA256 56e8c73bdb3c466f7731475c6268fe84909393acbc0f92480c6a6f4cfb162652
+MISC metadata.xml 364 RMD160 f5b24d257b77c1729805134ab10a0220746adabd SHA1 9d96df2a755efaf921cccf34456b8e5fc3e964e9 SHA256 0d446730e41f7ace28e9f7d974483b906f1eabadaed42b4b34bc8756ffff50fb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNVrPiAAoJEOeBhlrCAAWG4TwH/25s1pVxSEge7VXa+niMbVCv
+g2jsxbGsJllm9fka1JSwKpagbXXItU52WhUeSNibMTwkqWZ2IVcu4PRN44onepXQ
+foYUIjEHgRpneg98khy0cpuakK8sHrgom3u/LSElJyKFa0Y07riFIqiHOeV47w5K
+KQLn8eflQGsBYZV3k5U1hBuE8P/knCOed/SIPceY5lmVXbHA8bMCjLyDNqxyi9Ew
+YPRxz+VO69OHGWKaNd6Me7UBJXD9uF5nyjHTMHaFsnaYYpXR+lc4Yx89rY9eWvVw
+p9ylKy7BTxaZUy22k4BASE7RSO8vHv3IDeAzTqDLEQoNfEA1FbPACaAqNyozKu8=
+=OLAY
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/votca-tools/metadata.xml b/sci-libs/votca-tools/metadata.xml
new file mode 100644
index 000000000000..046b8b5f07de
--- /dev/null
+++ b/sci-libs/votca-tools/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <use>
+ <flag name='boost'>Compile against external boost headers (dev-libs/boost)</flag>
+ </use>
+</pkgmetadata>
diff --git a/sci-libs/votca-tools/votca-tools-1.0.1.ebuild b/sci-libs/votca-tools/votca-tools-1.0.1.ebuild
new file mode 100644
index 000000000000..e5f28e88379f
--- /dev/null
+++ b/sci-libs/votca-tools/votca-tools-1.0.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/votca-tools/votca-tools-1.0.1.ebuild,v 1.1 2011/02/12 16:12:08 ottxor Exp $
+
+EAPI="3"
+
+inherit eutils autotools
+
+if [ "${PV}" != "9999" ]; then
+ SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz"
+else
+ SRC_URI=""
+ inherit mercurial
+ EHG_REPO_URI="https://tools.votca.googlecode.com/hg"
+ S="${WORKDIR}/${EHG_REPO_URI##*/}"
+fi
+
+DESCRIPTION="Votca tools library"
+HOMEPAGE="http://www.votca.org"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="boost doc +fftw +gsl static-libs"
+
+RDEPEND="fftw? ( sci-libs/fftw:3.0 )
+ dev-libs/expat
+ gsl? ( sci-libs/gsl )
+ boost? ( dev-libs/boost )
+ doc? ( >=app-text/txt2tags-2.5 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ use gsl || ewarn "Disabling gsl will lead to reduced functionality"
+ use fftw || ewarn "Disabling fftw will lead to reduced functionality"
+
+ #remove bundled libs
+ rm -rf src/libexpat
+ use boost && rm -rf src/libboost
+
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_configure() {
+ local myconf="--disable-la-files --disable-rc-files"
+
+ use boost \
+ && myconf="${myconf} $(use_with boost) --disable-votca-boost" \
+ || myconf="${myconf} $(use_with boost) --enable-votca-boost"
+
+ myconf="${myconf} $(use_with gsl) $(use_with fftw) $(use_enable static-libs static)"
+
+ econf ${myconf} || die "econf failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc NOTICE
+ if use doc; then
+ emake CHANGELOG || die "emake CHANGELOG failed"
+ dodoc CHANGELOG
+ fi
+}