From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/coinor-cppad: ChangeLog coinor-cppad-20140519-r1.ebuild |
Date: | Fri, 31 Oct 2014 09:08:49 |
Message-Id: | 20141031090843.BCB55921A@oystercatcher.gentoo.org |
1 | jlec 14/10/31 09:08:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: coinor-cppad-20140519-r1.ebuild |
5 | Log: |
6 | sci-libs/coinor-cppad: Fix incomptibility with /bin/sh -> dash; #527496; fix boost detection |
7 | |
8 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 | |
10 | Revision Changes Path |
11 | 1.5 sci-libs/coinor-cppad/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cppad/ChangeLog?rev=1.5&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cppad/ChangeLog?rev=1.5&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cppad/ChangeLog?r1=1.4&r2=1.5 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/ChangeLog,v |
20 | retrieving revision 1.4 |
21 | retrieving revision 1.5 |
22 | diff -u -r1.4 -r1.5 |
23 | --- ChangeLog 21 May 2014 18:25:56 -0000 1.4 |
24 | +++ ChangeLog 31 Oct 2014 09:08:43 -0000 1.5 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for sci-libs/coinor-cppad |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/ChangeLog,v 1.4 2014/05/21 18:25:56 bicatali Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/ChangeLog,v 1.5 2014/10/31 09:08:43 jlec Exp $ |
30 | + |
31 | +*coinor-cppad-20140519-r1 (31 Oct 2014) |
32 | + |
33 | + 31 Oct 2014; Justin Lecher <jlec@g.o> |
34 | + +coinor-cppad-20140519-r1.ebuild, +files/coinor-cppad-20140519-boost.patch, |
35 | + +files/coinor-cppad-20140519-dash.patch: |
36 | + Fix incomptibility with /bin/sh -> dash; #527496; fix boost detection |
37 | |
38 | *coinor-cppad-20140519 (21 May 2014) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: coinor-cppad-20140519-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild,v 1.1 2014/10/31 09:08:43 jlec Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | AUTOTOOLS_AUTORECONF=yes |
57 | |
58 | inherit autotools-utils multilib |
59 | |
60 | MYP=cppad-${PV} |
61 | |
62 | DESCRIPTION="COIN-OR C++ Algorithmic Differentiation" |
63 | HOMEPAGE="https://projects.coin-or.org/CppAD/" |
64 | SRC_URI="http://www.coin-or.org/download/source/CppAD/${MYP}.gpl.tgz" |
65 | |
66 | LICENSE="GPL-3" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
69 | IUSE="doc examples" |
70 | |
71 | RDEPEND=" |
72 | dev-libs/boost[threads] |
73 | sci-libs/adolc:0= |
74 | sci-libs/ipopt:0=" |
75 | DEPEND="${RDEPEND} |
76 | virtual/pkgconfig |
77 | doc? ( app-doc/doxygen[dot] )" |
78 | |
79 | S="${WORKDIR}/${MYP}" |
80 | |
81 | PATCHES=( |
82 | "${FILESDIR}"/${P}-dash.patch |
83 | "${FILESDIR}"/${P}-boost.patch |
84 | ) |
85 | |
86 | src_configure() { |
87 | local myeconfargs=( $(use doc Documentation) ) |
88 | autotools-utils_src_configure CXX_FLAGS="${CXXFLAGS}" |
89 | } |
90 | |
91 | src_compile() { |
92 | autotools-utils_src_compile |
93 | if use doc; then |
94 | ./build.sh doxygen || die |
95 | fi |
96 | } |
97 | |
98 | src_test() { |
99 | autotools-utils_src_test check test |
100 | } |
101 | |
102 | src_install() { |
103 | use doc && HTML_DOC=( "${BUILD_DIR}"/doxydocs/html/. ) |
104 | autotools-utils_src_install |
105 | if use examples; then |
106 | insinto /usr/share/doc/${PF}/examples |
107 | doins -r example/* |
108 | fi |
109 | } |