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.32.ebuild glpk-4.28.ebuild |
Date: | Mon, 27 Oct 2008 15:36:28 |
Message-Id: | E1KuU8n-0006R8-Bs@stork.gentoo.org |
1 | bicatali 08/10/27 15:36:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: glpk-4.32.ebuild |
5 | Removed: glpk-4.28.ebuild |
6 | Log: |
7 | Version bump |
8 | (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.26 sci-mathematics/glpk/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.26&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.26&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.25&r2=1.26 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v |
20 | retrieving revision 1.25 |
21 | retrieving revision 1.26 |
22 | diff -u -r1.25 -r1.26 |
23 | --- ChangeLog 23 Jul 2008 17:35:15 -0000 1.25 |
24 | +++ ChangeLog 27 Oct 2008 15:36:25 -0000 1.26 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-mathematics/glpk |
27 | # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.25 2008/07/23 17:35:15 bicatali Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.26 2008/10/27 15:36:25 bicatali Exp $ |
30 | + |
31 | +*glpk-4.32 (27 Oct 2008) |
32 | + |
33 | + 27 Oct 2008; Sébastien Fabbro <bicatali@g.o> -glpk-4.28.ebuild, |
34 | + +glpk-4.32.ebuild: |
35 | + Version bump |
36 | |
37 | 23 Jul 2008; Sébastien Fabbro <bicatali@g.o> glpk-4.29.ebuild: |
38 | Added dev-db/unixODBC as a possible odbc implementation and changed use |
39 | |
40 | |
41 | |
42 | 1.1 sci-mathematics/glpk/glpk-4.32.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.32.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.32.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: glpk-4.32.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 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.32.ebuild,v 1.1 2008/10/27 15:36:25 bicatali Exp $ |
52 | |
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" |
62 | KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
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_compile() { |
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 | --with-zlib \ |
82 | $(use_with gmp) \ |
83 | $(use_enable odbc) \ |
84 | $(use_enable mysql) \ |
85 | ${myconf} || die "econf failed" |
86 | emake || die "emake failed" |
87 | } |
88 | |
89 | src_install() { |
90 | emake DESTDIR="${D}" install || die "emake install failed" |
91 | |
92 | # INSTALL include some usage docs |
93 | dodoc AUTHORS ChangeLog NEWS README || \ |
94 | die "failed to install docs" |
95 | |
96 | insinto /usr/share/doc/${PF} |
97 | if use examples; then |
98 | emake distclean |
99 | doins -r examples || die "failed to install examples" |
100 | fi |
101 | if use doc; then |
102 | cd "${S}"/doc |
103 | doins memo/gomory.djvu || die "failed to instal memo" |
104 | dodoc *.ps *.txt || die "failed to install manual files" |
105 | fi |
106 | } |