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

ottxor      11/02/12 16:12:08

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

Revision  Changes    Path
1.1                  sci-libs/votca-tools/votca-tools-1.0.1.ebuild

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

Index: votca-tools-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-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
}



1.1                  sci-libs/votca-tools/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/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='boost'>Compile against external boost headers (dev-libs/boost)</flag>
	</use>
</pkgmetadata>



1.1                  sci-libs/votca-tools/ChangeLog

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

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







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

only message in thread, other threads:[~2011-02-12 16:12 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:12 [gentoo-commits] gentoo-x86 commit in sci-libs/votca-tools: votca-tools-1.0.1.ebuild metadata.xml 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