1 |
markusle 08/03/31 12:58:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: axiom-200803.ebuild |
5 |
Removed: axiom-3.9-r1.ebuild |
6 |
Log: |
7 |
Version bump and removed old version. |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 sci-mathematics/axiom/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/ChangeLog?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/ChangeLog?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/ChangeLog?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -u -r1.16 -r1.17 |
23 |
--- ChangeLog 1 Feb 2008 17:26:12 -0000 1.16 |
24 |
+++ ChangeLog 31 Mar 2008 12:58:24 -0000 1.17 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for sci-mathematics/axiom |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v 1.16 2008/02/01 17:26:12 markusle Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v 1.17 2008/03/31 12:58:24 markusle Exp $ |
30 |
+ |
31 |
+*axiom-200803 (30 Mar 2008) |
32 |
+ |
33 |
+ 30 Mar 2008; Markus Dittrich <markusle@g.o> |
34 |
+ -files/gcl-2.6.7.fix-configure.in-gentoo.Makefile.patch, |
35 |
+ -files/gcl-2.6.7.fix-configure.in-gentoo.patch.input, |
36 |
+ -files/gcl-2.6.7.fix-out-of-build-root-compile.Makefile.patch, |
37 |
+ -files/gcl-2.6.7.fix-out-of-build-root-compile.patch.input, |
38 |
+ -axiom-3.9-r1.ebuild, +axiom-200803.ebuild: |
39 |
+ Version bump and removed old version. |
40 |
|
41 |
01 Feb 2008; Markus Dittrich <markusle@g.o> |
42 |
+files/axiom-200711-gcl-configure.patch, axiom-200711.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 sci-mathematics/axiom/axiom-200803.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/axiom-200803.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/axiom-200803.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: axiom-200803.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/axiom-200803.ebuild,v 1.1 2008/03/31 12:58:24 markusle Exp $ |
56 |
|
57 |
inherit eutils multilib flag-o-matic |
58 |
|
59 |
DESCRIPTION="Axiom is a general purpose Computer Algebra system" |
60 |
HOMEPAGE="http://axiom.axiom-developer.org/" |
61 |
SRC_URI="http://www.axiom-developer.org/axiom-website/downloads/${PN}-mar2008-src.tgz" |
62 |
|
63 |
LICENSE="BSD-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
# NOTE: Do not strip since this seems to remove some crucial |
69 |
# runtime paths as well, thereby, breaking axiom |
70 |
RESTRICT="strip" |
71 |
|
72 |
DEPEND="virtual/latex-base |
73 |
x11-libs/libXaw" |
74 |
|
75 |
S="${WORKDIR}"/${PN} |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
cd "${S}" |
80 |
|
81 |
cp "${FILESDIR}"/noweb-2.9-insecure-tmp-file.patch.input \ |
82 |
"${S}"/zips/noweb-2.9-insecure-tmp-file.patch \ |
83 |
|| die "Failed to fix noweb" |
84 |
cp "${FILESDIR}"/${PN}-200711-gcl-configure.patch \ |
85 |
"${S}"/zips/gcl-2.6.7.configure.in.patch \ |
86 |
|| die "Failed to fix gcl-2.6.7 configure" |
87 |
epatch "${FILESDIR}"/noweb-2.9-insecure-tmp-file.Makefile.patch \ |
88 |
|| die "Failed to patch noweb security issue!" |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
# lots of strict-aliasing badness |
93 |
append-flags -fno-strict-aliasing |
94 |
|
95 |
./configure || die "Failed to configure" |
96 |
# use gcl 2.6.7 |
97 |
sed -e "s:GCLVERSION=gcl-2.6.8pre$:GCLVERSION=gcl-2.6.7:" \ |
98 |
-i Makefile.pamphlet Makefile \ |
99 |
|| die "Failed to select proper gcl" |
100 |
|
101 |
# fix libXpm.a location |
102 |
sed -e "s:X11R6/lib:$(get_libdir):g" -i Makefile.pamphlet \ |
103 |
|| die "Failed to fix libXpm lib paths" |
104 |
|
105 |
# Let the fun begin... |
106 |
AXIOM="${S}"/mnt/linux emake -j1 || die |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
make DESTDIR="${D}"/opt/axiom COMMAND="${D}"/opt/axiom/mnt/linux/bin/axiom install \ |
111 |
|| die 'Failed to install Axiom!' |
112 |
|
113 |
mv "${D}"/opt/axiom/mnt/linux/* "${D}"/opt/axiom |
114 |
rm -fr "${D}"/opt/axiom/mnt |
115 |
|
116 |
dodir /usr/bin |
117 |
dosym /opt/axiom/bin/axiom /usr/bin/axiom |
118 |
|
119 |
sed -e "2d;3i AXIOM=/opt/axiom" \ |
120 |
-i "${D}"/opt/axiom/bin/axiom \ |
121 |
|| die "Failed to patch axiom runscript!" |
122 |
|
123 |
dodoc changelog readme faq |
124 |
} |
125 |
|
126 |
|
127 |
|
128 |
-- |
129 |
gentoo-commits@l.g.o mailing list |