public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <kleiner_otti@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/votca-csg/
Date: Thu,  3 Mar 2011 21:43:50 +0000 (UTC)	[thread overview]
Message-ID: <c92b47630ac73f2c69ef9f99ede7fcc89b2ac9cd.kleiner_otti@gentoo> (raw)

commit:     c92b47630ac73f2c69ef9f99ede7fcc89b2ac9cd
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 21:54:30 2011 +0000
Commit:     Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Thu Mar  3 21:54:47 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c92b4763

[sci-chemistry/votca-csg] switched to cmake

(Portage version: 2.1.9.25/git/Linux i686, signed Manifest commit with key C2000586)

---
 sci-chemistry/votca-csg/votca-csg-9999.ebuild |   30 ++++++++----------------
 1 files changed, 10 insertions(+), 20 deletions(-)

diff --git a/sci-chemistry/votca-csg/votca-csg-9999.ebuild b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
index d1b7e59..87b656e 100644
--- a/sci-chemistry/votca-csg/votca-csg-9999.ebuild
+++ b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="3"
 
-inherit autotools-utils bash-completion
+inherit cmake-utils bash-completion
 
 MANUAL_PV=1.1
 if [ "${PV}" != "9999" ]; then
@@ -25,7 +25,7 @@ HOMEPAGE="http://www.votca.org"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE="doc +gromacs static-libs"
+IUSE="doc +gromacs"
 
 RDEPEND="=sci-libs/votca-tools-${PV}
 	gromacs? ( >=sci-chemistry/gromacs-4.0.7-r5 )
@@ -37,35 +37,25 @@ DEPEND="${RDEPEND}
 	>=app-text/txt2tags-2.5
 	dev-util/pkgconfig"
 
-src_prepare() {
-	#from bootstrap.sh
-	if [ -z "${PV##*9999}" ]; then
-		emake -C share/scripts/inverse -f Makefile.am.in Makefile.am || die
-	fi
-
-	eautoreconf || die "eautoreconf failed"
-}
-
 src_configure() {
-	local libgmx
+	local extra="-DWITH_GMX_DEVEL=OFF"
 
-	#in >gromacs-4.5 libgmx was renamed to libgromacs
-	has_version =sci-chemistry/gromacs-9999 && libgmx="libgromacs" || libgmx="libgmx"
-	#prefer gromacs double-precision if it is there
-	has_version sci-chemistry/gromacs[double-precision] && libgmx="${libgmx}_d"
+	use gromacs && has_version =sci-chemistry/gromacs-9999 && \
+		extra="-DWITH_GMX_DEVEL=ON"
 
-	myeconfargs=( ${myconf} --disable-rc-files  $(use_with gromacs libgmx $libgmx) )
-	autotools-utils_src_configure || die
+	mycmakeargs=( $(cmake-utils_use_with gromacs GMX) ${extra} -DWITH_RC_FILES=OFF )
+	cmake-utils_src_configure || die
 }
 
 src_install() {
-	DOCS=(README NOTICE ${AUTOTOOLS_BUILD_DIR}/CHANGELOG)
+	DOCS=(README NOTICE ${CMAKE_BUILD_DIR}/CHANGELOG)
 	dobashcompletion scripts/csg-completion.bash ${PN} || die
-	autotools-utils_src_install || die
+	cmake-utils_src_install || die
 	if use doc; then
 		if [ -n "${PV##*9999}" ]; then
 			dodoc "${DISTDIR}/votca-manual-${MANUAL_PV}.pdf" || die
 		fi
+		cd "${CMAKE_BUILD_DIR}" || die
 		cd share/doc || die
 		doxygen || die
 		dohtml -r html/* || die



             reply	other threads:[~2011-03-03 21:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 21:43 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-14 17:31 [gentoo-commits] proj/sci:master commit in: sci-chemistry/votca-csg/ Christoph Junghans
2015-11-16  4:23 Christoph Junghans
2015-09-24  5:20 Christoph Junghans
2015-09-21 17:44 Justin Lecher
2015-02-12  0:44 Christoph Junghans
2014-10-24  3:33 Christoph Junghans
2014-09-01  0:21 Christoph Junghans
2014-02-27 23:01 Sebastien Fabbro
2013-03-09  1:48 Christoph Junghans
2013-01-30  5:28 Christoph Junghans
2012-12-31  3:17 Christoph Junghans
2012-07-25  1:24 Christoph Junghans
2012-07-18  2:53 Christoph Junghans
2012-03-24 22:46 Christoph Junghans
2011-11-05  2:33 Christoph Junghans
2011-11-05  2:33 Christoph Junghans
2011-11-03 23:51 Christoph Junghans
2011-09-10 15:04 Christoph Junghans
2011-09-10 14:57 Christoph Junghans
2011-09-05 17:13 Christoph Junghans
2011-08-25 20:33 Christoph Junghans
2011-08-14 15:04 Christoph Junghans
2011-07-17 13:14 Christoph Junghans
2011-07-17 12:38 Christoph Junghans
2011-06-24 17:09 Justin Lecher
2011-06-03 21:59 Christoph Junghans
2011-05-28 12:27 Christoph Junghans
2011-03-10 19:51 Christoph Junghans
2011-03-08 21:40 Christoph Junghans
2011-03-03 21:43 Christoph Junghans
2011-02-20 13:30 Christoph Junghans
2011-02-19 17:03 Christoph Junghans
2011-02-13 17:27 Christoph Junghans
2011-02-12 16:23 Christoph Junghans
2011-02-12 14:53 Christoph Junghans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c92b47630ac73f2c69ef9f99ede7fcc89b2ac9cd.kleiner_otti@gentoo \
    --to=kleiner_otti@gmx.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox