1 |
dev-zero 09/03/02 13:39:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mapm-4.9.5.ebuild |
5 |
Log: |
6 |
Version bump (added fix to add #include <stdlib.h>, doing compilation manually since original script ignores LDFLAGS and doesn't set soname). |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.7 dev-libs/mapm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mapm/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mapm/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mapm/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/mapm/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -u -r1.6 -r1.7 |
22 |
--- ChangeLog 31 Dec 2008 03:03:17 -0000 1.6 |
23 |
+++ ChangeLog 2 Mar 2009 13:39:48 -0000 1.7 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-libs/mapm |
26 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/ChangeLog,v 1.6 2008/12/31 03:03:17 darkside Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/ChangeLog,v 1.7 2009/03/02 13:39:48 dev-zero Exp $ |
30 |
+ |
31 |
+*mapm-4.9.5 (02 Mar 2009) |
32 |
+ |
33 |
+ 02 Mar 2009; Tiziano Müller <dev-zero@g.o> |
34 |
+ +files/4.9.5-missing_include.patch, +mapm-4.9.5.ebuild: |
35 |
+ Version bump (added fix to add #include <stdlib.h>, doing compilation |
36 |
+ manually since original script ignores LDFLAGS and doesn't set soname). |
37 |
|
38 |
31 Dec 2008; Jeremy Olexa <darkside@g.o> mapm-4.9.2.ebuild: |
39 |
add ~amd64 kw, bug 253126 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/mapm/mapm-4.9.5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mapm/mapm-4.9.5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mapm/mapm-4.9.5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mapm-4.9.5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/mapm-4.9.5.ebuild,v 1.1 2009/03/02 13:39:48 dev-zero Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils multilib toolchain-funcs |
57 |
|
58 |
DESCRIPTION="Mike's Arbitrary Precision Math Library" |
59 |
HOMEPAGE="http://www.tc.umn.edu/~ringx004/mapm-main.html" |
60 |
SRC_URI="http://www.tc.umn.edu/~ringx004/${P}.tar.gz" |
61 |
LICENSE="mapm" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86 ~ppc ~sparc" |
64 |
IUSE="" |
65 |
|
66 |
DEPEND="" |
67 |
RDEPEND="" |
68 |
|
69 |
S="${WORKDIR}/${PN}_${PV}" |
70 |
|
71 |
src_prepare() { |
72 |
epatch "${FILESDIR}/${PV}-missing_include.patch" |
73 |
} |
74 |
|
75 |
src_compile() { |
76 |
$(tc-getCC) -c -Wall ${CFLAGS} -fPIC map*.c || die "compiling sources failed" |
77 |
$(tc-getCC) -shared ${LDFLAGS} -Wl,--soname=libmapm.so -o libmapm.so.0 map*.o || die "linking sources failed" |
78 |
} |
79 |
|
80 |
src_install() { |
81 |
dolib.so libmapm.so.0 |
82 |
# dosym libmapm.so.0 /usr/$(get_libdir)/libmapm.so |
83 |
|
84 |
insinto /usr/include |
85 |
doins m_apm.h |
86 |
|
87 |
insinto /usr/share/doc/${PF}/examples |
88 |
doins calc.c validate.c primenum.c cpp_demo.cpp |
89 |
|
90 |
cd DOCS |
91 |
dodoc README article.pdf algorithms.used commentary.txt \ |
92 |
cpp_function.ref function.ref history.txt struct.ref |
93 |
|
94 |
} |