# 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.11 2011/12/14 17:18:09 ago Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.12 2012/01/11 04:11:09 ottxor Exp $
+
+*votca-csg-1.2.2 (11 Jan 2012)
+
+ 11 Jan 2012; Christoph Junghans <ottxor@gentoo.org> +votca-csg-1.2.2.ebuild:
+ version bump
14 Dec 2011; Agostino Sarubbo <ago@gentoo.org> votca-csg-1.2.1.ebuild:
Stable for AMD64, wrt bug #389681
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
DIST votca-csg-1.2.1.tar.gz 186364 RMD160 a01c6e54d100860767edc87b187e7eb06d203251 SHA1 9a7118454c154e8ec262366e43cdd65a3d5af561 SHA256 1a8722362960eab1f4dbefb2249f5a7b846ce2f39ead1f84fc7e5b288d7558b6
+DIST votca-csg-1.2.2.tar.gz 188405 RMD160 0fc81566d86a38c09cf5b54fc082206ac2bc0def SHA1 adc2f79b4ec414e720435e526ea7dba05d728f54 SHA256 9974c30b8c3f2b9bbdfa56ca12e981cfd015fa7c557eec30cd11ee11cb167775
+DIST votca-csg-manual-1.2.2.pdf 1009336 RMD160 36fdcf1aeaf3c300cf00e6731f975c82f7091632 SHA1 f360142a2c0e9eac7057b6e9857de558c798a500 SHA256 c9760e3d46afbcd8e2bb44937a9680f68d53e86a36bba1513b4612c4c588d8b5
+DIST votca-csg-tutorials-1.2.2.tar.gz 3576523 RMD160 1479978541abe707094a8405723ea2eb2162ba55 SHA1 2a672ac2e6cd3bf6efb28c227d1c0cdc2a04b6c7 SHA256 456a8317fff5770a5ebd6452673eefeaa455534b87a800cfbd4672248670f9bd
DIST votca-manual-1.2.1.pdf 1007275 RMD160 b6193fe851bbc4f529340b0badcd8dae0205eeab SHA1 2c37fa06ab934a0f08054c9d62b82b47384143ce SHA256 9d9a03b9271157aee66f1b8afdad311a4c75f2d7534937ae578c448421f6f863
DIST votca-tutorials-1.2.1.tar.gz 3576658 RMD160 15e9fedb5a95aa4fa3ca40ecb930666797c55488 SHA1 dccb5a6e760083b0ade00bf162830e7266f7b402 SHA256 c313367784d5bbedfd2abf3b8a0920a117f528d76af81aa81d1c8dfc7c414b30
EBUILD votca-csg-1.2.1.ebuild 2305 RMD160 8b4fe0bf8d0f31ee25507e1a03f4b6c002e6862c SHA1 3fd164d6ade5a54fe15663720c970acaa8cd6352 SHA256 b3b57912e6d158626eb7b052c92b916378d94dc1d67fbc3635e35b468b5a7f64
-MISC ChangeLog 1708 RMD160 c92a1b60573610f8b16657cdef104379fe406780 SHA1 1b92223b4564b6909b6132c39aee5eddf0ad6e9b SHA256 37d959230814726a543269dd766d317f08af8fab63ca7a82440e59c8a7354479
+EBUILD votca-csg-1.2.2.ebuild 2301 RMD160 4e0aa7ef69f6b149520fe52be44682b137de1580 SHA1 90854cdacb73a1f115f15f0df88e2c5a88a49f1b SHA256 f928c5c3708bd2fdb9652a30d3214c244747b37b2e66c70b805b93bbeda59590
+MISC ChangeLog 1838 RMD160 19e6a79d1c2c0f6835b5961d827f7c360897c3bb SHA1 8fa6ed819c2c4d4ad664c1fa697fb32cecbbc3f7 SHA256 7e52b5bfce481a8ced51181613a09319a9702bb0d90176e9088c2bf0b1f8f2a4
MISC metadata.xml 592 RMD160 8f322c16be805359bc0f21f5c6abaeb2db201d98 SHA1 293bc38c9ad65c53225d02ec557ba728d652326f SHA256 e947ea2ae0abd72dd56848d07eed807a7bec93762bf8c1e7e0537d1c4674f30e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBCgAGBQJO6NpvAAoJEOTDgjZ80txdvCUH/AjrMDeEHVxcKa+EYPffaE2R
-+P7YCCXPUY8xwmnTW5/w0i5YDUxnOZpm8vHjc0hFl6ZomRbt7+TJz9eh2eVhvtfZ
-yuN8dwMtBNSlvSN4C93d8m8yAM2+ylgWVNFwXWKNj8mIoMbQoQbPLOGQudCT7NlU
-PPvykSyrvphvVltCVEtmZTR6D/sXAxIlhuE/l24QAkLgtovurbXjgPaDnQ9HovMo
-Cvue8MuaL43yKj79SD3j2W1MixKzQEJw3Boxx0EniVWD8Xc2m3+vjFN3M7Y4/KlG
-mvvMGYOihLa0DEEK4mXZWNbSEFXRhqYvwIS7XqkJGevkrSj7F82HV/2M8SxbnAk=
-=5OXT
+iQEcBAEBAgAGBQJPDQvjAAoJEOeBhlrCAAWGO70IAJs8xuvbq4YhXDoPhuHqHC+I
+1/umFgvJd+jJDfQCYtfvcY7WPLXFLU25ajL9SAusHMO+kX4v14EAPpgYvE29GWvl
+aCwJk3PGyN3SnHp2Rn62N6j7l+5/S+W3JKH+jOZLyvzWNV9orTZtiBQKfXDlISxv
+Ry1dsGxjmPHdNXT/hb7XsAchiH515mxgLmGkIlJvAjn3A57i9XBsl33DkJQRqJAL
+hZupAt6fxx8yVGTacul6wVKDZNrhSJ8PLalKmQD1VJ96uOJTs6D+GsLaq9Nrnqw7
+fYclY7Z2jwqJtPeLbaqVhrkJFcJPU5/+4d6iVr2ZhFl0/zpPf4MxgDsmm5wKGNM=
+=EQmU
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 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.2.2.ebuild,v 1.1 2012/01/11 04:11:09 ottxor Exp $
+
+EAPI=4
+
+inherit bash-completion-r1 cmake-utils multilib
+
+IUSE="doc examples extras +gromacs +system-boost"
+PDEPEND="extras? ( =sci-chemistry/votca-csgapps-${PV} )"
+if [ "${PV}" != "9999" ]; then
+ SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz
+ doc? ( http://votca.googlecode.com/files/${PN}-manual-${PV}.pdf )
+ examples? ( http://votca.googlecode.com/files/${PN}-tutorials-${PV}.tar.gz )"
+ RESTRICT="primaryuri"
+else
+ SRC_URI=""
+ inherit mercurial
+ EHG_REPO_URI="https://csg.votca.googlecode.com/hg"
+ EHG_REVISION="default"
+ S="${WORKDIR}/${EHG_REPO_URI##*/}"
+ PDEPEND="${PDEPEND} doc? ( =app-doc/${PN}-manual-${PV} )
+ examples? ( =sci-chemistry/${PN}-tutorials-${PV} )"
+fi
+
+DESCRIPTION="Votca coarse-graining engine"
+HOMEPAGE="http://www.votca.org"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="=sci-libs/votca-tools-${PV}[system-boost=]
+ gromacs? ( sci-chemistry/gromacs )
+ dev-lang/perl
+ app-shells/bash"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[-nodot] )
+ >=app-text/txt2tags-2.5
+ dev-util/pkgconfig"
+
+src_configure() {
+ local extra="-DWITH_GMX_DEVEL=OFF"
+
+ use gromacs && has_version =sci-chemistry/gromacs-9999 && \
+ extra="-DWITH_GMX_DEVEL=ON"
+
+ mycmakeargs=(
+ $(cmake-utils_use system-boost EXTERNAL_BOOST)
+ $(cmake-utils_use_with gromacs GMX)
+ ${extra}
+ -DWITH_RC_FILES=OFF
+ -DLIB=$(get_libdir)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ DOCS=(README NOTICE ${CMAKE_BUILD_DIR}/CHANGELOG)
+ newbashcomp scripts/csg-completion.bash ${PN}
+ cmake-utils_src_install
+ if use doc; then
+ if [ -n "${PV##*9999}" ]; then
+ dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf"
+ fi
+ cd "${CMAKE_BUILD_DIR}" || die
+ cd share/doc || die
+ doxygen || die
+ dohtml -r html/*
+ fi
+ if use examples && [ -n "${PV##*9999}" ]; then
+ insinto "/usr/share/doc/${PF}/tutorials"
+ docompress -x "/usr/share/doc/${PF}/tutorials"
+ doins -r "${WORKDIR}/${PN}-tutorials-${PV}"/*
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read and cite:"
+ einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). "
+ einfo "http://dx.doi.org/10.1021/ct900369w"
+ einfo
+}