Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/coinor-cgl: coinor-cgl-0.58.6.ebuild ChangeLog coinor-cgl-0.58.5.ebuild
Date: Tue, 04 Feb 2014 09:59:44
Message-Id: 20140204095940.534D72004B@flycatcher.gentoo.org
1 jlec 14/02/04 09:59:40
2
3 Modified: ChangeLog
4 Added: coinor-cgl-0.58.6.ebuild
5 Removed: coinor-cgl-0.58.5.ebuild
6 Log:
7 Move preparations to src_prepare
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
10
11 Revision Changes Path
12 1.4 sci-libs/coinor-cgl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cgl/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cgl/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cgl/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-libs/coinor-cgl/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 4 Feb 2014 08:18:32 -0000 1.3
25 +++ ChangeLog 4 Feb 2014 09:59:40 -0000 1.4
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-libs/coinor-cgl
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cgl/ChangeLog,v 1.3 2014/02/04 08:18:32 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cgl/ChangeLog,v 1.4 2014/02/04 09:59:40 jlec Exp $
31 +
32 +*coinor-cgl-0.58.6 (04 Feb 2014)
33 +
34 + 04 Feb 2014; Justin Lecher <jlec@g.o> +coinor-cgl-0.58.6.ebuild,
35 + -coinor-cgl-0.58.5.ebuild:
36 + Move preparations to src_prepare
37
38 04 Feb 2014; Justin Lecher <jlec@g.o> coinor-cgl-0.58.5.ebuild:
39 Fix the common coinor pkg-config installation problem
40
41
42
43 1.1 sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: coinor-cgl-0.58.6.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-cgl/coinor-cgl-0.58.6.ebuild,v 1.1 2014/02/04 09:59:39 jlec Exp $
53
54 EAPI=5
55
56 inherit autotools-utils multilib
57
58 MYPN=Cgl
59
60 DESCRIPTION="COIN-OR cutting-plane generators library"
61 HOMEPAGE="https://projects.coin-or.org/Cgl/"
62 SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
63
64 LICENSE="EPL-1.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
67 IUSE="doc examples static-libs test"
68
69 RDEPEND="
70 sci-libs/coinor-clp:=
71 sci-libs/coinor-dylp:=
72 sci-libs/coinor-osi:=
73 sci-libs/coinor-utils:=
74 sci-libs/coinor-vol:="
75 DEPEND="${RDEPEND}
76 virtual/pkgconfig
77 doc? ( app-doc/doxygen[dot] )
78 test? ( sci-libs/coinor-sample )"
79
80 S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
81
82 src_prepare() {
83 # needed for the --with-coin-instdir
84 dodir /usr
85 sed -i \
86 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
87 configure || die
88 autotools-utils_src_prepare
89 }
90
91 src_configure() {
92 local myeconfargs=(
93 --enable-dependency-linking
94 --with-coin-instdir="${ED}"/usr
95 $(use_with doc dot)
96 )
97 autotools-utils_src_configure
98 }
99
100 src_compile() {
101 autotools-utils_src_compile all $(use doc doxydoc "")
102 }
103
104 src_test() {
105 autotools-utils_src_test test
106 }
107
108 src_install() {
109 use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/")
110 autotools-utils_src_install
111 # already installed
112 rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die
113 if use examples; then
114 insinto /usr/share/doc/${PF}
115 doins -r examples
116 fi
117 }