1 |
jer 07/10/02 14:33:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pari-2.3.2-r1.ebuild |
5 |
Log: |
6 |
Revision bump to fix HPPA build problem, and trivial changes in whitespace and other QA conventions (bug #194456). |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.50 sci-mathematics/pari/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?rev=1.50&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?rev=1.50&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?r1=1.49&r2=1.50 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v |
19 |
retrieving revision 1.49 |
20 |
retrieving revision 1.50 |
21 |
diff -u -r1.49 -r1.50 |
22 |
--- ChangeLog 1 Oct 2007 17:03:36 -0000 1.49 |
23 |
+++ ChangeLog 2 Oct 2007 14:33:41 -0000 1.50 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sci-mathematics/pari |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.49 2007/10/01 17:03:36 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.50 2007/10/02 14:33:41 jer Exp $ |
29 |
+ |
30 |
+*pari-2.3.2-r1 (02 Oct 2007) |
31 |
+ |
32 |
+ 02 Oct 2007; Jeroen Roovers <jer@g.o> |
33 |
+ +files/pari-2.3.2-strip.patch, +pari-2.3.2-r1.ebuild: |
34 |
+ Revision bump to fix HPPA build problem, and trivial changes in whitespace |
35 |
+ and other QA conventions (bug #194456). |
36 |
|
37 |
01 Oct 2007; Jeroen Roovers <jer@g.o> pari-2.3.2.ebuild: |
38 |
DON'T hide build output. |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-mathematics/pari/pari-2.3.2-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pari-2.3.2-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild,v 1.1 2007/10/02 14:33:41 jer Exp $ |
52 |
|
53 |
inherit elisp-common eutils flag-o-matic multilib toolchain-funcs |
54 |
|
55 |
DESCRIPTION="A software package for computer-aided number theory" |
56 |
HOMEPAGE="http://pari.math.u-bordeaux.fr/" |
57 |
SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/${P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" |
62 |
IUSE="doc emacs X" |
63 |
|
64 |
DEPEND="doc? ( virtual/tetex ) |
65 |
sys-libs/readline |
66 |
X? ( x11-libs/libX11 ) |
67 |
emacs? ( virtual/emacs )" |
68 |
SITEFILE=50${PN}-gentoo.el |
69 |
|
70 |
|
71 |
src_unpack() { |
72 |
unpack ${A} |
73 |
cd "${S}" |
74 |
|
75 |
epatch "${FILESDIR}/${P}-strip.patch" |
76 |
|
77 |
# disable default building of docs during install |
78 |
sed -e "s:install-doc install-examples:install-examples:" \ |
79 |
-i config/Makefile.SH || die "Failed to fix makefile" |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
#need to force optimization here, as it breaks without |
84 |
if is-flag -O0; then |
85 |
replace-flags -O0 -O2 |
86 |
elif ! is-flag -O?; then |
87 |
append-flags -O2 |
88 |
fi |
89 |
|
90 |
./Configure \ |
91 |
--prefix=/usr \ |
92 |
--datadir=/usr/share/${P} \ |
93 |
--libdir=/usr/$(get_libdir) \ |
94 |
--mandir=/usr/share/man/man1 || die "./Configure failed" |
95 |
|
96 |
if use hppa; then |
97 |
mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm |
98 |
fi |
99 |
|
100 |
# Shared libraries should be PIC on ALL architectures. |
101 |
# Danny van Dyk <kugelfang@g.o> 2005/03/31 |
102 |
# Fixes BUG #49583 |
103 |
einfo "Building shared library..." |
104 |
cd Olinux-* || die "Bad directory. File a BUG!" |
105 |
emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" |
106 |
|
107 |
einfo "Building executables..." |
108 |
emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building executables failed!" |
109 |
|
110 |
if use doc; then |
111 |
cd "${S}" |
112 |
emake docpdf || die "Failed to generate docs" |
113 |
fi |
114 |
|
115 |
if use emacs; then |
116 |
cd "${S}/emacs" |
117 |
elisp-comp *.el || die "elisp-comp failed" |
118 |
fi |
119 |
} |
120 |
|
121 |
src_test() { |
122 |
cd "${S}" |
123 |
|
124 |
make test-kernel |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || \ |
129 |
die "Install failed" |
130 |
|
131 |
if use emacs; then |
132 |
elisp-install ${PN} emacs/*.el emacs/*.elc || die "elisp-install failed" |
133 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
134 |
fi |
135 |
|
136 |
dodoc AUTHORS Announce.2.1 CHANGES README TODO NEW |
137 |
if use doc; then |
138 |
emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install-doc \ |
139 |
|| die "Failed to install docs" |
140 |
insinto /usr/share/doc/${PF} |
141 |
doins doc/*.pdf || die "Failed to install pdf docs" |
142 |
fi |
143 |
|
144 |
#remove superfluous doc directory |
145 |
rm -fr "${D}/usr/share/${P}/doc" || \ |
146 |
die "Failed to clean up doc directory" |
147 |
} |
148 |
|
149 |
pkg_postinst() { |
150 |
use emacs && elisp-site-regen |
151 |
} |
152 |
|
153 |
pkg_postrm() { |
154 |
use emacs && elisp-site-regen |
155 |
} |
156 |
|
157 |
|
158 |
|
159 |
-- |
160 |
gentoo-commits@g.o mailing list |