1 |
tomka 12/04/20 13:32:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: polymake-2.12.ebuild |
5 |
Log: |
6 |
Bump to 2.12 |
7 |
|
8 |
(Portage version: 2.1.10.56/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 sci-mathematics/polymake/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- ChangeLog 26 Dec 2011 08:32:49 -0000 1.8 |
24 |
+++ ChangeLog 20 Apr 2012 13:32:19 -0000 1.9 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-mathematics/polymake |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.8 2011/12/26 08:32:49 tomka Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.9 2012/04/20 13:32:19 tomka Exp $ |
31 |
+ |
32 |
+*polymake-2.12 (20 Apr 2012) |
33 |
+ |
34 |
+ 20 Apr 2012; Thomas Kahle <tomka@g.o> |
35 |
+ +files/polymake-2.12-soname.patch, +polymake-2.12.ebuild: |
36 |
+ Bump to 2.12 |
37 |
|
38 |
26 Dec 2011; Thomas Kahle <tomka@g.o> polymake-2.11.ebuild, |
39 |
files/polymake-2.11-drop-jreality.patch: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-mathematics/polymake/polymake-2.12.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: polymake-2.12.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild,v 1.1 2012/04/20 13:32:19 tomka Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils flag-o-matic |
57 |
|
58 |
MY_PV=${PV}-rc3 |
59 |
|
60 |
DESCRIPTION="research tool for polyhedral geometry and combinatorics" |
61 |
SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${PN}-${MY_PV}.tar.bz2" |
62 |
HOMEPAGE="http://polymake.org" |
63 |
|
64 |
IUSE="libpolymake" |
65 |
|
66 |
SLOT="0" |
67 |
LICENSE="GPL-2" |
68 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
69 |
|
70 |
DEPEND="dev-libs/gmp |
71 |
dev-libs/boost |
72 |
dev-libs/libxml2:2 |
73 |
dev-perl/XML-LibXML |
74 |
dev-libs/libxslt |
75 |
dev-perl/XML-LibXSLT |
76 |
dev-perl/XML-Writer |
77 |
dev-perl/Term-ReadLine-Gnu" |
78 |
RDEPEND="${DEPEND}" |
79 |
|
80 |
src_prepare() { |
81 |
# embedded jreality is a precompiled desaster (bug #346073) |
82 |
epatch "${FILESDIR}/${PN}"-2.11-drop-jreality.patch |
83 |
# Assign a soname |
84 |
epatch "${FILESDIR}/${P}"-soname.patch |
85 |
rm -rf java_build/jreality |
86 |
|
87 |
# Don't strip |
88 |
sed -i '/system "strip $to"/d' support/install.pl || die |
89 |
|
90 |
einfo "During compile this package uses up to" |
91 |
einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if" |
92 |
einfo "you run into trouble." |
93 |
} |
94 |
|
95 |
src_configure () { |
96 |
export CXXOPT=$(get-flag -O) |
97 |
local myconf |
98 |
if use libpolymake ; then |
99 |
# WTF: If we leave myconf as the empty string here |
100 |
# then configure will fail. |
101 |
myconf="--without-prereq" |
102 |
else |
103 |
# --with-callable is not supported :( |
104 |
myconf="--without-callable" |
105 |
fi |
106 |
echo ${myconf} |
107 |
# Configure does not accept --host, therefore econf cannot be used |
108 |
./configure --prefix="${EPREFIX}/usr" \ |
109 |
--without-java \ |
110 |
--without-prereq \ |
111 |
--libdir="${EPREFIX}/usr/$(get_libdir)" \ |
112 |
--libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \ |
113 |
"${myconf}" || die |
114 |
} |
115 |
|
116 |
src_install(){ |
117 |
emake -j1 DESTDIR="${D}" install || die "install failed" |
118 |
} |
119 |
|
120 |
pkg_postinst(){ |
121 |
elog "Polymake uses Perl Modules compiled during install." |
122 |
elog "You have to reinstall polymake after an upgrade of Perl." |
123 |
elog " " |
124 |
elog "This version of polymake does not ship docs. Sorry." |
125 |
elog "Help can be found on http://www.opt.tu-darmstadt.de/polymake_doku/ " |
126 |
elog " " |
127 |
elog "Visualization in polymake is via jreality which ships pre-compiled" |
128 |
elog "binary libraries. Until this situation is resolved, support for" |
129 |
elog "jreality has been dropped. Please contribute to Bug #346073 to " |
130 |
elog "make jreality available in Gentoo." |
131 |
} |