/[gentoo-x86]/sci-libs/coinor-cppad/coinor-cppad-20140112.ebuild
Gentoo

Contents of /sci-libs/coinor-cppad/coinor-cppad-20140112.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 16 15:10:36 2014 UTC (6 years ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump fixing bug #498240

(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/coinor-cppad-20140112.ebuild,v 1.1 2014/01/15 19:47:45 bicatali Exp $
4
5 EAPI=5
6
7 inherit autotools-utils multilib
8
9 MYP=cppad-${PV}
10
11 DESCRIPTION="COIN-OR C++ Algorithmic Differentiation"
12 HOMEPAGE="https://projects.coin-or.org/CppAD/"
13 SRC_URI="http://www.coin-or.org/download/source/CppAD/${MYP}.gpl.tgz"
14
15 LICENSE="|| ( EPL-1.0 GPL-3 )"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="doc examples"
19
20 RDEPEND="
21 sci-libs/adolc:=
22 sci-libs/ipopt:="
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig
25 doc? ( app-doc/doxygen[dot] )"
26
27 S="${WORKDIR}/${MYP}"
28
29 src_configure() {
30 local myeconfargs=( $(use doc Documentation) )
31 autotools-utils_src_configure
32 }
33
34 src_compile() {
35 autotools-utils_src_compile
36 if use doc; then
37 ./build.sh doxygen || die
38 fi
39 }
40
41 src_test() {
42 autotools-utils_src_test check test
43 }
44
45 src_install() {
46 use doc && HTML_DOC=( "${BUILD_DIR}"/doxydocs/html/. )
47 autotools-utils_src_install
48 if use examples; then
49 insinto /usr/share/doc/${PF}/examples
50 doins -r example/*
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20