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.53.ebuild ChangeLog
Date: Mon, 24 Mar 2014 17:47:02
Message-Id: 20140324174625.3154920054@flycatcher.gentoo.org
1 bicatali 14/03/24 17:46:25
2
3 Modified: ChangeLog
4 Added: glpk-4.53.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.68 sci-mathematics/glpk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.68&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.68&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.67&r2=1.68
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v
20 retrieving revision 1.67
21 retrieving revision 1.68
22 diff -u -r1.67 -r1.68
23 --- ChangeLog 5 Feb 2014 21:54:33 -0000 1.67
24 +++ ChangeLog 24 Mar 2014 17:46:25 -0000 1.68
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-mathematics/glpk
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.67 2014/02/05 21:54:33 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.68 2014/03/24 17:46:25 bicatali Exp $
30 +
31 +*glpk-4.53 (24 Mar 2014)
32 +
33 + 24 Mar 2014; Sébastien Fabbro <bicatali@g.o>
34 + +files/glpk-4.53-debundle-system-libs.patch, +glpk-4.53.ebuild:
35 + Version bump
36
37 05 Feb 2014; Sébastien Fabbro <bicatali@g.o>
38 +files/glpk-4.52.1-mariadb-5.5.patch, glpk-4.45.ebuild, glpk-4.48.ebuild,
39
40
41
42 1.1 sci-mathematics/glpk/glpk-4.53.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/glpk-4.53.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/glpk/glpk-4.53.ebuild?rev=1.1&content-type=text/plain
46
47 Index: glpk-4.53.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.53.ebuild,v 1.1 2014/03/24 17:46:25 bicatali Exp $
52
53 EAPI=5
54
55 AUTOTOOLS_AUTORECONF=1
56
57 inherit eutils flag-o-matic toolchain-funcs autotools-utils
58
59 DESCRIPTION="GNU Linear Programming Kit"
60 LICENSE="GPL-3"
61 HOMEPAGE="http://www.gnu.org/software/glpk/"
62 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
63
64 SLOT="0/36"
65 IUSE="doc examples gmp odbc mysql static-libs"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
67
68 RDEPEND="
69 sci-libs/amd:0=
70 sci-libs/colamd:=
71 sys-libs/zlib:0=
72 gmp? ( dev-libs/gmp:0= )
73 mysql? ( virtual/mysql )
74 odbc? ( || ( dev-db/libiodbc:0= dev-db/unixODBC:0= ) )"
75 DEPEND="${RDEPEND}
76 virtual/pkgconfig"
77
78 PATCHES=(
79 "${FILESDIR}"/${PN}-4.53-debundle-system-libs.patch
80 )
81
82 src_configure() {
83 local myeconfargs=(
84 $(use_enable mysql)
85 $(use_enable odbc)
86 $(use_with gmp)
87 )
88 if use mysql || use odbc; then
89 myeconfargs+=( --enable-dl )
90 else
91 myeconfargs+=( --disable-dl )
92 fi
93 [[ -z $(type -P odbc-config) ]] && \
94 append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc)
95
96 autotools-utils_src_configure
97 }
98
99 src_install() {
100 autotools-utils_src_install
101 if use examples; then
102 insinto /usr/share/doc/${PF}
103 doins -r examples
104 fi
105 use doc && dodoc doc/*.pdf doc/notes/*.pdf doc/*.txt
106 }