Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/adolc/
Date: Thu, 28 Jun 2012 23:32:24
Message-Id: 1340926110.54d4f130bba953f8d3c80683b77425b04e215ef6.bicatali@gentoo
1 commit: 54d4f130bba953f8d3c80683b77425b04e215ef6
2 Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
3 AuthorDate: Thu Jun 28 23:28:30 2012 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 28 23:28:30 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=54d4f130
7
8 initial import
9
10 ---
11 sci-libs/adolc/ChangeLog | 17 +++++++++++++++++
12 sci-libs/adolc/adolc-2.3.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
13 sci-libs/adolc/metadata.xml | 11 +++++++++++
14 3 files changed, 65 insertions(+), 0 deletions(-)
15
16 diff --git a/sci-libs/adolc/ChangeLog b/sci-libs/adolc/ChangeLog
17 new file mode 100644
18 index 0000000..1ea2f37
19 --- /dev/null
20 +++ b/sci-libs/adolc/ChangeLog
21 @@ -0,0 +1,17 @@
22 +# ChangeLog for sci-libs/adolc
23 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
24 +# $Header: $
25 +
26 +*adolc-2.3.0 (28 Jun 2012)
27 +
28 + 28 Jun 2012; Sébastien Fabbro <bicatali@g.o> +adolc-2.3.0.ebuild,
29 + +metadata.xml:
30 + Version bump and import to the sci overlay
31 +
32 +*adolc-2.1.12 (30 Mar 2011)
33 +
34 + 30 Mar 2011; Sébastien Fabbro <bicatali@g.o> +adolc-2.1.12.ebuild,
35 + +files/adolc-2.1.12-autotools.patch, +files/adolc-2.1.12-sparse-openmp.patch,
36 + +metadata.xml:
37 + Initial import
38 +
39
40 diff --git a/sci-libs/adolc/adolc-2.3.0.ebuild b/sci-libs/adolc/adolc-2.3.0.ebuild
41 new file mode 100644
42 index 0000000..44a09d8
43 --- /dev/null
44 +++ b/sci-libs/adolc/adolc-2.3.0.ebuild
45 @@ -0,0 +1,37 @@
46 +# Copyright 1999-2012 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Header: $
49 +
50 +EAPI=4
51 +
52 +AUTOTOOLS_AUTORECONF=yes
53 +AUTOTOOLS_IN_SOURCE_BUILD=yes
54 +inherit autotools-utils toolchain-funcs
55 +
56 +MYPN=ADOL-C
57 +
58 +DESCRIPTION="Automatic differentiation system for C/C++"
59 +HOMEPAGE="https://projects.coin-or.org/ADOL-C/"
60 +SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
61 +
62 +LICENSE="|| ( CPL GPL-2 )"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 +IUSE="sparse static-libs"
66 +
67 +RDEPEND="sparse? ( sci-libs/colpack )"
68 +DEPEND="${RDEPEND}"
69 +
70 +S="${WORKDIR}/${MYPN}-${PV}"
71 +
72 +src_configure() {
73 + local myeconfargs+=(
74 + $(use_enable sparse)
75 + $(use_with sparse colpack "${EPREFIX}"/usr)
76 + )
77 + autotools-utils_src_configure
78 +}
79 +
80 +src_test() {
81 + emake test
82 +}
83
84 diff --git a/sci-libs/adolc/metadata.xml b/sci-libs/adolc/metadata.xml
85 new file mode 100644
86 index 0000000..e5dda79
87 --- /dev/null
88 +++ b/sci-libs/adolc/metadata.xml
89 @@ -0,0 +1,11 @@
90 +<?xml version="1.0" encoding="UTF-8"?>
91 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
92 +<pkgmetadata>
93 +<herd>sci</herd>
94 +<longdescription lang="en">
95 + The ADOLC system automatically calculates exact derivatives of a
96 + C/C++ function. It uses C++ overloading to record arithmetic
97 + operations, which it plays back later in various ways to calculate
98 + the requested values.
99 +</longdescription>
100 +</pkgmetadata>