public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/votca-csg: metadata.xml votca-csg-1.0.1.ebuild ChangeLog
@ 2011-02-12 16:22 Christoph Junghans (ottxor)
  0 siblings, 0 replies; only message in thread
From: Christoph Junghans (ottxor) @ 2011-02-12 16:22 UTC (permalink / raw
  To: gentoo-commits

ottxor      11/02/12 16:22:51

  Added:                metadata.xml votca-csg-1.0.1.ebuild ChangeLog
  Log:
  Initial commit (bug #296707)
  
  (Portage version: 2.1.9.25/cvs/Linux i686)

Revision  Changes    Path
1.1                  sci-chemistry/votca-csg/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?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>



1.1                  sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.0.1.ebuild?rev=1.1&content-type=text/plain

Index: votca-csg-1.0.1.ebuild
===================================================================
# 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
}



1.1                  sci-chemistry/votca-csg/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# 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)







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-12 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 16:22 [gentoo-commits] gentoo-x86 commit in sci-chemistry/votca-csg: metadata.xml votca-csg-1.0.1.ebuild ChangeLog Christoph Junghans (ottxor)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox