public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-cppad/
Date: Thu, 19 Jul 2012 20:52:30 +0000 (UTC)	[thread overview]
Message-ID: <1342731078.7605f0a54003d27b28842562abb8f031be47a216.bicatali@gentoo> (raw)

commit:     7605f0a54003d27b28842562abb8f031be47a216
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Thu Jul 19 20:51:18 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Jul 19 20:51:18 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7605f0a5

sci-libs/coinor-cppad: Initial import

(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, unsigned Manifest commit)

---
 sci-libs/coinor-cppad/ChangeLog                    |    9 +++
 sci-libs/coinor-cppad/coinor-cppad-20120719.ebuild |   56 ++++++++++++++++++++
 sci-libs/coinor-cppad/metadata.xml                 |   14 +++++
 3 files changed, 79 insertions(+), 0 deletions(-)

diff --git a/sci-libs/coinor-cppad/ChangeLog b/sci-libs/coinor-cppad/ChangeLog
new file mode 100644
index 0000000..43376f0
--- /dev/null
+++ b/sci-libs/coinor-cppad/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-libs/coinor-cppad
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*coinor-cppad-20120719 (19 Jul 2012)
+
+  19 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
+  +coinor-cppad-20120719.ebuild, +metadata.xml:
+  sci-libs/coinor-cppad: Initial import

diff --git a/sci-libs/coinor-cppad/coinor-cppad-20120719.ebuild b/sci-libs/coinor-cppad/coinor-cppad-20120719.ebuild
new file mode 100644
index 0000000..bd98acb
--- /dev/null
+++ b/sci-libs/coinor-cppad/coinor-cppad-20120719.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit autotools-utils multilib
+
+MYP=cppad-${PV}
+
+DESCRIPTION="COIN-OR C++ Algorithmic Differentiation"
+HOMEPAGE="https://projects.coin-or.org/CppAD/"
+SRC_URI="http://www.coin-or.org/download/source/CppAD/${MYP}.gpl.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples test"
+
+RDEPEND="sci-libs/adolc
+	sci-libs/ipopt"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen[dot] )"
+
+S="${WORKDIR}/${MYP}"
+
+src_configure() {
+	local myeconfargs=(
+		$(use doc Documentation)
+	)
+	autotools-utils_src_configure
+}
+
+src_compile() {
+	autotools-utils_src_compile
+	if use doc; then
+		./build.sh doxygen || die
+	fi
+}
+
+
+src_test() {
+	pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
+	emake check test
+	popd > /dev/null || die
+}
+
+src_install() {
+	use doc && HTML_DOC=("${AUTOTOOLS_BUILD_DIR}/doxydocs/html/")
+	autotools-utils_src_install
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins -r example/*
+	fi
+}

diff --git a/sci-libs/coinor-cppad/metadata.xml b/sci-libs/coinor-cppad/metadata.xml
new file mode 100644
index 0000000..b100a5b
--- /dev/null
+++ b/sci-libs/coinor-cppad/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+  We refer to the step by step conversion from an algorithm that
+  computes function values to an algorithm that computes derivative
+  values as Algorithmic Differentiation (AD); often referred to as
+  automatic differentiation. Given a C++ algorithm that computes
+  function values, CppAD generates an algorithm that computes
+  corresponding derivative values (of arbitrary order using either
+  forward or reverse mode).
+</longdescription>
+</pkgmetadata>



             reply	other threads:[~2012-07-19 20:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 20:52 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-29 22:30 [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-cppad/ Sebastien Fabbro
2013-03-03 17:52 Justin Lecher
2013-05-26 17:38 Sebastien Fabbro
2013-07-17 23:42 Sebastien Fabbro
2013-12-08  5:00 Sebastien Fabbro

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=1342731078.7605f0a54003d27b28842562abb8f031be47a216.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --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