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.37.ebuild glpk-4.29.ebuild |
Date: | Tue, 07 Apr 2009 09:00:38 |
Message-Id: | E1Lr7Aa-0002Pp-Ah@stork.gentoo.org |
1 | bicatali 09/04/07 09:00:36 |
2 | |
3 | Modified: ChangeLog |
4 | Added: glpk-4.37.ebuild |
5 | Removed: glpk-4.29.ebuild |
6 | Log: |
7 | Version bump |
8 | (Portage version: 2.2_rc28/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.33 sci-mathematics/glpk/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.33&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.33&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.32&r2=1.33 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v |
20 | retrieving revision 1.32 |
21 | retrieving revision 1.33 |
22 | diff -u -r1.32 -r1.33 |
23 | --- ChangeLog 27 Mar 2009 12:01:51 -0000 1.32 |
24 | +++ ChangeLog 7 Apr 2009 09:00:36 -0000 1.33 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-mathematics/glpk |
27 | # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.32 2009/03/27 12:01:51 fmccor Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.33 2009/04/07 09:00:36 bicatali Exp $ |
30 | + |
31 | +*glpk-4.37 (07 Apr 2009) |
32 | + |
33 | + 07 Apr 2009; Sébastien Fabbro <bicatali@g.o> -glpk-4.29.ebuild, |
34 | + +glpk-4.37.ebuild: |
35 | + Version bump |
36 | |
37 | 27 Mar 2009; Ferris McCormick <fmccor@g.o> glpk-4.35.ebuild: |
38 | Sparc stable, preparation for bug #245707. |
39 | |
40 | |
41 | |
42 | 1.1 sci-mathematics/glpk/glpk-4.37.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.37.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.37.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: glpk-4.37.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 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.37.ebuild,v 1.1 2009/04/07 09:00:36 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/gomory.djvu || die "failed to instal djvu and pdf" |
103 | dodoc *.txt || die "failed to install manual files" |
104 | fi |
105 | } |