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: ChangeLog glpk-4.42.ebuild glpk-4.40.ebuild
Date: Sun, 31 Jan 2010 21:55:08
Message-Id: E1Nbhl4-0001bX-BQ@stork.gentoo.org
1 bicatali 10/01/31 21:55:06
2
3 Modified: ChangeLog
4 Added: glpk-4.42.ebuild
5 Removed: glpk-4.40.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.42 sci-mathematics/glpk/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 11 Jan 2010 04:11:53 -0000 1.41
24 +++ ChangeLog 31 Jan 2010 21:55:05 -0000 1.42
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-mathematics/glpk
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.41 2010/01/11 04:11:53 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.42 2010/01/31 21:55:05 bicatali Exp $
30 +
31 +*glpk-4.42 (31 Jan 2010)
32 +
33 + 31 Jan 2010; S├ębastien Fabbro <bicatali@g.o> -glpk-4.40.ebuild,
34 + +glpk-4.42.ebuild:
35 + Version bump
36
37 *glpk-4.41 (11 Jan 2010)
38
39
40
41
42 1.1 sci-mathematics/glpk/glpk-4.42.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.42.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.42.ebuild?rev=1.1&content-type=text/plain
46
47 Index: glpk-4.42.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.42.ebuild,v 1.1 2010/01/31 21:55:05 bicatali Exp $
52
53 EAPI=2
54 inherit flag-o-matic
55
56 DESCRIPTION="GNU Linear Programming Kit"
57 LICENSE="GPL-3"
58 HOMEPAGE="http://www.gnu.org/software/glpk/"
59 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
60
61 SLOT="0"
62 IUSE="doc examples gmp odbc mysql"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
64
65 RDEPEND="odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
66 gmp? ( dev-libs/gmp )
67 mysql? ( virtual/mysql )"
68
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig"
71
72 src_configure() {
73 local myconf="--disable-dl"
74 if use mysql || use odbc; then
75 myconf="--enable-dl"
76 fi
77
78 [[ -z $(type -P odbc-config) ]] && \
79 append-cppflags $(pkg-config --cflags libiodbc)
80
81 econf \
82 --with-zlib \
83 $(use_with gmp) \
84 $(use_enable odbc) \
85 $(use_enable mysql) \
86 ${myconf}
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install || die "emake install failed"
91
92 dodoc AUTHORS ChangeLog NEWS README || \
93 die "failed to install docs"
94
95 insinto /usr/share/doc/${PF}
96 if use examples; then
97 emake distclean
98 doins -r examples || die "failed to install examples"
99 fi
100 if use doc; then
101 cd "${S}"/doc
102 doins *.pdf notes/*.pdf || die "failed to instal djvu and pdf"
103 dodoc *.txt || die "failed to install manual files"
104 fi
105 }