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.38.ebuild
Date: Thu, 18 Jun 2009 07:53:36
Message-Id: E1MHCRA-0004eD-S4@stork.gentoo.org
1 bicatali 09/06/18 07:53:32
2
3 Modified: ChangeLog
4 Added: glpk-4.38.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.37 sci-mathematics/glpk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.37&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.37&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.36&r2=1.37
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v
19 retrieving revision 1.36
20 retrieving revision 1.37
21 diff -u -r1.36 -r1.37
22 --- ChangeLog 17 May 2009 13:15:33 -0000 1.36
23 +++ ChangeLog 18 Jun 2009 07:53:32 -0000 1.37
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-mathematics/glpk
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.36 2009/05/17 13:15:33 nixnut Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.37 2009/06/18 07:53:32 bicatali Exp $
30 +
31 +*glpk-4.38 (18 Jun 2009)
32 +
33 + 18 Jun 2009; Sébastien Fabbro <bicatali@g.o> +glpk-4.38.ebuild:
34 + Version bump
35
36 17 May 2009; nixnut <nixnut@g.o> glpk-4.35.ebuild:
37 ppc stable #245707
38
39
40
41 1.1 sci-mathematics/glpk/glpk-4.38.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.38.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.38.ebuild?rev=1.1&content-type=text/plain
45
46 Index: glpk-4.38.ebuild
47 ===================================================================
48 # Copyright 1999-2009 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.38.ebuild,v 1.1 2009/06/18 07:53:32 bicatali Exp $
51
52 EAPI=2
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_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 --with-zlib \
82 $(use_with gmp) \
83 $(use_enable odbc) \
84 $(use_enable mysql) \
85 ${myconf}
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install || die "emake install failed"
90
91 dodoc AUTHORS ChangeLog NEWS README || \
92 die "failed to install docs"
93
94 insinto /usr/share/doc/${PF}
95 if use examples; then
96 emake distclean
97 doins -r examples || die "failed to install examples"
98 fi
99 if use doc; then
100 cd "${S}"/doc
101 doins *.pdf notes/gomory.djvu || die "failed to instal djvu and pdf"
102 dodoc *.txt || die "failed to install manual files"
103 fi
104 }