Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/glpk: glpk-4.47.ebuild ChangeLog
Date: Fri, 25 Nov 2011 19:11:36
Message-Id: 20111125191122.1900C2004B@flycatcher.gentoo.org
1 bicatali 11/11/25 19:11:22
2
3 Modified: ChangeLog
4 Added: glpk-4.47.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.37/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.49 sci-mathematics/glpk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 9 Jun 2011 12:18:17 -0000 1.48
24 +++ ChangeLog 25 Nov 2011 19:11:22 -0000 1.49
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-mathematics/glpk
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.48 2011/06/09 12:18:17 alexxy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.49 2011/11/25 19:11:22 bicatali Exp $
30 +
31 +*glpk-4.47 (25 Nov 2011)
32 +
33 + 25 Nov 2011; Sébastien Fabbro <bicatali@g.o> +glpk-4.47.ebuild:
34 + Version bump
35
36 09 Jun 2011; Alexey Shvetsov <alexxy@g.o> glpk-4.45.ebuild:
37 Add ~amd64-linux keyword
38
39
40
41 1.1 sci-mathematics/glpk/glpk-4.47.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/glpk-4.47.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/glpk-4.47.ebuild?rev=1.1&content-type=text/plain
45
46 Index: glpk-4.47.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.47.ebuild,v 1.1 2011/11/25 19:11:22 bicatali Exp $
51
52 EAPI=4
53 inherit flag-o-matic
54
55 DESCRIPTION="GNU Linear Programming Kit"
56 LICENSE="GPL-3"
57 HOMEPAGE="http://www.gnu.org/software/glpk/"
58 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
59
60 SLOT="0"
61 IUSE="doc examples gmp odbc mysql static-libs"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux"
63
64 RDEPEND="odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
65 gmp? ( dev-libs/gmp )
66 mysql? ( virtual/mysql )"
67
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig"
70
71 src_configure() {
72 local myconf="--disable-dl"
73 if use mysql || use odbc; then
74 myconf="--enable-dl"
75 fi
76
77 [[ -z $(type -P odbc-config) ]] && \
78 append-cppflags $(pkg-config --cflags libiodbc)
79
80 econf \
81 $(use_enable mysql) \
82 $(use_enable odbc) \
83 $(use_enable static-libs static) \
84 $(use_with gmp) \
85 ${myconf}
86 }
87
88 src_install() {
89 default
90 if use examples; then
91 emake distclean
92 insinto /usr/share/doc/${PF}
93 doins -r examples
94 fi
95 use doc && cd "${S}"/doc && dodoc *.pdf notes/*.pdf *.txt
96 }