summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2011-02-12 16:22:51 +0000
committerChristoph Junghans <ottxor@gentoo.org>2011-02-12 16:22:51 +0000
commit7c1d9ed9a2d67d40ad2b660247203b105f715d3e (patch)
treeb19f036c9e6b0b3eb0390afff9c67ce3aa93a62a /sci-chemistry
parentMarked ~ppc wrt #326767 (diff)
downloadhistorical-7c1d9ed9a2d67d40ad2b660247203b105f715d3e.tar.gz
historical-7c1d9ed9a2d67d40ad2b660247203b105f715d3e.tar.bz2
historical-7c1d9ed9a2d67d40ad2b660247203b105f715d3e.zip
Initial commit (bug #296707)
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/votca-csg/ChangeLog10
-rw-r--r--sci-chemistry/votca-csg/Manifest18
-rw-r--r--sci-chemistry/votca-csg/metadata.xml12
-rw-r--r--sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild80
4 files changed, 120 insertions, 0 deletions
diff --git a/sci-chemistry/votca-csg/ChangeLog b/sci-chemistry/votca-csg/ChangeLog
new file mode 100644
index 000000000000..858ffb8635b3
--- /dev/null
+++ b/sci-chemistry/votca-csg/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/votca-csg
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.1 2011/02/12 16:22:51 ottxor Exp $
+
+*votca-csg-1.0.1 (12 Feb 2011)
+
+ 12 Feb 2011; Christoph Junghans <ottxor@gentoo.org> +votca-csg-1.0.1.ebuild,
+ +metadata.xml:
+ Initial commit (bug #296707)
+
diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest
new file mode 100644
index 000000000000..c8cb5a843486
--- /dev/null
+++ b/sci-chemistry/votca-csg/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST votca-csg-1.0.1.tar.gz 489464 RMD160 6ea3765b72203cf389b4ff644528fc5d551c9e44 SHA1 52becc27457fffd6ebbbcef62f6d5315fc859567 SHA256 346e94eb5e49008f11ec557fe4e48d0f2939f41139095e64af0f47514163399d
+EBUILD votca-csg-1.0.1.ebuild 1926 RMD160 740d68a69dffa5a56e218a257b97a30c1402939b SHA1 b6d52b08882e0a86e5fa76b56b0a38122305f3cd SHA256 4734f646d5c80f819bb01b44d44aea662bdc37af189e1012a37702b2689dd1b9
+MISC ChangeLog 379 RMD160 40fdec70de53567380823995598cb30147c160d9 SHA1 73cf01e64a27e56c9a3c34a29a349ae1ce685bee SHA256 91864320217a5e36a8083dda0d629515232680b75d43369b82c83a736a1b55ee
+MISC metadata.xml 371 RMD160 7cf35c090d5336be88bf1d697f9ed90efe6d0336 SHA1 7a20446238bcc4dd7fa6daad063be86ec7f636ac SHA256 39f5a1b9c98af3057d6161edeb6286137205e02775c15020fae57277f6894512
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNVrZlAAoJEOeBhlrCAAWG8JsH/R+haWP28iyrZKngZO8xlwQm
+/u0XZQWOGdBgtt7x5WTQjWPKcFyd8TXn2fTXH0epK1/NFhFUladc3Z4OzlBCdLKy
+JivygMOsdJTt8c5nHvDd659AoOJ0BiAmlExL3QC7ndvOel6VJ1o1hQ8oKKMYqu9N
+Zh8XleGDeHuXrZ0375CeD/oGZDxcydAuf5py9zMiCWyDToXGduXU5mRd546Qjssp
+XSgPJcLvu64M7XzRhTELv0KiVyx90Ua00lwE34Gaip1DvCT8KN4LcAOscU7qPWSM
+S/QWIIp3SG8Yd4MaZqrAplsfVenu343gCoJqJHR+Wuv+sbqos6QHyh3oyCb+iy0=
+=0QC1
+-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/votca-csg/metadata.xml b/sci-chemistry/votca-csg/metadata.xml
new file mode 100644
index 000000000000..9796135c481b
--- /dev/null
+++ b/sci-chemistry/votca-csg/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='gromacs'>Add support for gromacs file formats (sci-chemistry/gromacs)</flag>
+ </use>
+</pkgmetadata>
diff --git a/sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild
new file mode 100644
index 000000000000..00005b6ad1ea
--- /dev/null
+++ b/sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild,v 1.1 2011/02/12 16:22:51 ottxor Exp $
+
+EAPI="3"
+
+inherit autotools bash-completion
+
+if [ "${PV}" != "9999" ]; then
+ SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz"
+else
+ SRC_URI=""
+ inherit mercurial
+ EHG_REPO_URI="https://csg.votca.googlecode.com/hg"
+ S="${WORKDIR}/${EHG_REPO_URI##*/}"
+fi
+
+DESCRIPTION="Votca coarse-graining engine"
+HOMEPAGE="http://www.votca.org"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc +gromacs static-libs"
+
+RDEPEND="=sci-libs/votca-tools-${PV}
+ gromacs? ( >=sci-chemistry/gromacs-4.0.7-r5 <sci-chemistry/gromacs-9999 )
+ dev-lang/perl
+ app-shells/bash
+ doc? ( >=app-text/txt2tags-2.5 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ #from bootstrap.sh
+ [ -z "${PV##*9999}" ] && \
+ emake -C share/scripts/inverse -f Makefile.am.in Makefile.am
+
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_configure() {
+ local myconf="--disable-la-files --disable-rc-files"
+
+ if use gromacs; then
+ #prefer gromacs double-precision if it is there
+ if has_version sci-chemistry/gromacs[double-precision]; then
+ myconf="${myconf} --with-libgmx=libgmx_d"
+ else
+ myconf="${myconf} --with-libgmx=libgmx"
+ fi
+ else
+ myconf="${myconf} --without-libgmx"
+ fi
+
+ myconf="${myconf} $(use_enable static-libs static)"
+
+ econf ${myconf} || die "econf failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc README NOTICE
+ if use doc; then
+ emake CHANGELOG || die "emake CHANGELOG failed"
+ dodoc CHANGELOG
+ fi
+
+ dobashcompletion scripts/csg-completion.bash ${PN}
+}
+
+pkg_postinst() {
+ elog
+ elog "Please read and cite:"
+ elog "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). "
+ elog "http://dx.doi.org/10.1021/ct900369w"
+ elog
+ bash-completion_pkg_postinst
+}