1 |
bicatali 08/03/25 18:07:23 |
2 |
|
3 |
Modified: glpk-4.27.ebuild ChangeLog |
4 |
Log: |
5 |
Added proper dependencies and use flag iodbc, mysql and gmp. Fixed license. Closing bug #214702 |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-mathematics/glpk/glpk-4.27.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.27.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.27.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/glpk-4.27.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: glpk-4.27.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.27.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- glpk-4.27.ebuild 24 Mar 2008 23:05:48 -0000 1.1 |
22 |
+++ glpk-4.27.ebuild 25 Mar 2008 18:07:22 -0000 1.2 |
23 |
@@ -1,41 +1,45 @@ |
24 |
# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.27.ebuild,v 1.1 2008/03/24 23:05:48 bicatali Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.27.ebuild,v 1.2 2008/03/25 18:07:22 bicatali Exp $ |
28 |
|
29 |
DESCRIPTION="GNU Linear Programming Kit" |
30 |
-LICENSE="GPL-2" |
31 |
+LICENSE="GPL-3" |
32 |
HOMEPAGE="http://www.gnu.org/software/glpk/" |
33 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
34 |
|
35 |
SLOT="0" |
36 |
-IUSE="doc" |
37 |
+IUSE="doc gmp iodbc mysql" |
38 |
KEYWORDS="~x86 ~amd64 ~ppc" |
39 |
|
40 |
-DEPEND=">=sys-devel/gcc-3.2 |
41 |
- virtual/libc |
42 |
- doc? ( virtual/ghostscript )" |
43 |
-RDEPEND="virtual/libc" |
44 |
+DEPEND="odbc? ( dev-db/libiodbc ) |
45 |
+ gmp? ( dev-libs/gmp ) |
46 |
+ mysql? ( virtual/mysql )" |
47 |
+ |
48 |
+src_compile() { |
49 |
+ econf \ |
50 |
+ $(use_enable gmp) \ |
51 |
+ $(use_enable iodbc) \ |
52 |
+ $(use_enable mysql) \ |
53 |
+ || die "econf failed" |
54 |
+ emake || die "emake failed" |
55 |
+} |
56 |
|
57 |
src_install() { |
58 |
emake DESTDIR="${D}" install || die "emake install failed" |
59 |
|
60 |
# INSTALL include some usage docs |
61 |
- dodoc AUTHORS ChangeLog INSTALL NEWS README || \ |
62 |
+ dodoc AUTHORS ChangeLog NEWS README || \ |
63 |
die "failed to install docs" |
64 |
|
65 |
- # 385Kb |
66 |
+ # 380Kb |
67 |
insinto /usr/share/doc/${PF}/examples |
68 |
doins examples/*.{c,mod,lp,mps,dat} || \ |
69 |
die "failed to install examples" |
70 |
|
71 |
- # manual/ is 2.5Mb in size |
72 |
if use doc; then |
73 |
cd "${S}"/doc |
74 |
- dvipdf refman.dvi |
75 |
- dvipdf lang.dvi |
76 |
- insinto /usr/share/doc/${PF}/manual |
77 |
- doins *.pdf || die "failed to install manual files" |
78 |
- docinto manual |
79 |
- dodoc *.txt || die "failed to install manual txt" |
80 |
+ dodoc *.ps *.txt || die "failed to install manual files" |
81 |
+ insinto /usr/share/doc/${PF} |
82 |
+ doins memo/gomory.djvu || "failed to instal memo" |
83 |
fi |
84 |
} |
85 |
|
86 |
|
87 |
|
88 |
1.17 sci-mathematics/glpk/ChangeLog |
89 |
|
90 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.17&view=markup |
91 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?rev=1.17&content-type=text/plain |
92 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/glpk/ChangeLog?r1=1.16&r2=1.17 |
93 |
|
94 |
Index: ChangeLog |
95 |
=================================================================== |
96 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v |
97 |
retrieving revision 1.16 |
98 |
retrieving revision 1.17 |
99 |
diff -u -r1.16 -r1.17 |
100 |
--- ChangeLog 24 Mar 2008 23:05:48 -0000 1.16 |
101 |
+++ ChangeLog 25 Mar 2008 18:07:22 -0000 1.17 |
102 |
@@ -1,6 +1,10 @@ |
103 |
# ChangeLog for sci-mathematics/glpk |
104 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
105 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.16 2008/03/24 23:05:48 bicatali Exp $ |
106 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/ChangeLog,v 1.17 2008/03/25 18:07:22 bicatali Exp $ |
107 |
+ |
108 |
+ 25 Mar 2008; Sébastien Fabbro <bicatali@g.o> glpk-4.27.ebuild: |
109 |
+ Added proper dependencies and use flag iodbc, mysql and gmp. Fixed |
110 |
+ license. Closing bug #214702 |
111 |
|
112 |
*glpk-4.27 (24 Mar 2008) |
113 |
|
114 |
|
115 |
|
116 |
|
117 |
-- |
118 |
gentoo-commits@l.g.o mailing list |