From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/neartree: ChangeLog metadata.xml neartree-2.1.4.ebuild |
Date: | Wed, 03 Feb 2010 20:24:00 |
Message-Id: | E1NcllW-0008Rr-H4@stork.gentoo.org |
1 | jlec 10/02/03 20:23:58 |
2 | |
3 | Added: ChangeLog metadata.xml neartree-2.1.4.ebuild |
4 | Log: |
5 | Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem) |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-libs/neartree/ChangeLog |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/ChangeLog?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/ChangeLog?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ChangeLog |
15 | =================================================================== |
16 | # ChangeLog for sci-libs/neartree |
17 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
18 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.1 2010/02/03 20:23:57 jlec Exp $ |
19 | |
20 | *neartree-2.1.4 (03 Feb 2010) |
21 | |
22 | 03 Feb 2010; Justin Lecher (jlec) <jlec@g.o> |
23 | +files/2.1.4-FLAGS.patch, +files/2.1.4-gcc4.3.patch, |
24 | +files/2.1.4-iterator.patch, +files/2.1.4-test.patch, |
25 | +neartree-2.1.4.ebuild, +metadata.xml: |
26 | function library efficiently solving the Nearest Neighbor Problem(known as |
27 | the post office problem) |
28 | |
29 | |
30 | |
31 | |
32 | 1.1 sci-libs/neartree/metadata.xml |
33 | |
34 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/metadata.xml?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/metadata.xml?rev=1.1&content-type=text/plain |
36 | |
37 | Index: metadata.xml |
38 | =================================================================== |
39 | <?xml version="1.0" encoding="UTF-8"?> |
40 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
41 | <pkgmetadata> |
42 | <herd>sci</herd> |
43 | <maintainer> |
44 | <email>sci@g.o</email> |
45 | </maintainer> |
46 | </pkgmetadata> |
47 | |
48 | |
49 | |
50 | 1.1 sci-libs/neartree/neartree-2.1.4.ebuild |
51 | |
52 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/neartree-2.1.4.ebuild?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/neartree-2.1.4.ebuild?rev=1.1&content-type=text/plain |
54 | |
55 | Index: neartree-2.1.4.ebuild |
56 | =================================================================== |
57 | # Copyright 1999-2010 Gentoo Foundation |
58 | # Distributed under the terms of the GNU General Public License v2 |
59 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.1.4.ebuild,v 1.1 2010/02/03 20:23:57 jlec Exp $ |
60 | |
61 | EAPI="3" |
62 | |
63 | inherit eutils flag-o-matic toolchain-funcs |
64 | |
65 | MY_PN=NearTree |
66 | MY_P="${MY_PN}-${PV}" |
67 | |
68 | DESCRIPTION="Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem)" |
69 | HOMEPAGE="http://neartree.sourceforge.net" |
70 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}/${MY_PN}.zip -> ${P}.zip" |
71 | |
72 | LICENSE="LGPL-2.1" |
73 | SLOT="0" |
74 | KEYWORDS="~amd64 ~x86" |
75 | IUSE="" |
76 | |
77 | RDEPEND="dev-libs/cvector" |
78 | DEPEND="${RDEPEND}" |
79 | |
80 | S="${WORKDIR}" |
81 | |
82 | src_prepare() { |
83 | epatch "${FILESDIR}"/${PV}-FLAGS.patch |
84 | epatch "${FILESDIR}"/${PV}-gcc4.3.patch |
85 | epatch "${FILESDIR}"/${PV}-iterator.patch |
86 | epatch "${FILESDIR}"/${PV}-test.patch |
87 | |
88 | sed \ |
89 | -e "s:GENTOOLIBDIR:$(get_libdir):g" \ |
90 | -e "s:/usr:${EPREFIX}/usr:g" \ |
91 | -i Makefile |
92 | } |
93 | |
94 | src_compile() { |
95 | emake \ |
96 | CC=$(tc-getCC) \ |
97 | CXX=$(tc-getCXX) \ |
98 | all || die |
99 | } |
100 | |
101 | src_test() { |
102 | emake \ |
103 | CC=$(tc-getCC) \ |
104 | CXX=$(tc-getCXX) \ |
105 | tests || die |
106 | } |
107 | |
108 | src_install() { |
109 | dobin bin/* || die "failed to install bins" |
110 | dolib.a lib/.libs/*.a || die "failed to install libs" |
111 | |
112 | insinto /usr/include |
113 | doins *.h || die "failed to install includes" |
114 | |
115 | dodoc README_NearTree.txt || die |
116 | dohtml *.html || die |
117 | } |