public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/neartree: ChangeLog metadata.xml neartree-2.1.4.ebuild
@ 2010-02-03 20:23 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-03 20:23 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/03 20:23:58

  Added:                ChangeLog metadata.xml neartree-2.1.4.ebuild
  Log:
  Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem)
  (Portage version: 2.2_rc62/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-libs/neartree/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sci-libs/neartree
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.1 2010/02/03 20:23:57 jlec Exp $

*neartree-2.1.4 (03 Feb 2010)

  03 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
  +files/2.1.4-FLAGS.patch, +files/2.1.4-gcc4.3.patch,
  +files/2.1.4-iterator.patch, +files/2.1.4-test.patch,
  +neartree-2.1.4.ebuild, +metadata.xml:
  function library efficiently solving the Nearest Neighbor Problem(known as
  the post office problem)




1.1                  sci-libs/neartree/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
<maintainer>
  <email>sci@gentoo.org</email>
</maintainer>
</pkgmetadata>



1.1                  sci-libs/neartree/neartree-2.1.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/neartree-2.1.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/neartree/neartree-2.1.4.ebuild?rev=1.1&content-type=text/plain

Index: neartree-2.1.4.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.1.4.ebuild,v 1.1 2010/02/03 20:23:57 jlec Exp $

EAPI="3"

inherit eutils flag-o-matic toolchain-funcs

MY_PN=NearTree
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem)"
HOMEPAGE="http://neartree.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}/${MY_PN}.zip -> ${P}.zip"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-libs/cvector"
DEPEND="${RDEPEND}"

S="${WORKDIR}"

src_prepare() {
	epatch "${FILESDIR}"/${PV}-FLAGS.patch
	epatch "${FILESDIR}"/${PV}-gcc4.3.patch
	epatch "${FILESDIR}"/${PV}-iterator.patch
	epatch "${FILESDIR}"/${PV}-test.patch

	sed \
		-e "s:GENTOOLIBDIR:$(get_libdir):g" \
		-e "s:/usr:${EPREFIX}/usr:g" \
		-i Makefile
}

src_compile() {
	emake \
		CC=$(tc-getCC) \
		CXX=$(tc-getCXX) \
		all || die
}

src_test() {
	emake \
		CC=$(tc-getCC) \
		CXX=$(tc-getCXX) \
		tests || die
}

src_install() {
	dobin bin/* || die "failed to install bins"
	dolib.a lib/.libs/*.a || die "failed to install libs"

	insinto /usr/include
	doins *.h || die "failed to install includes"

	dodoc README_NearTree.txt || die
	dohtml *.html || die
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-03 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 20:23 [gentoo-commits] gentoo-x86 commit in sci-libs/neartree: ChangeLog metadata.xml neartree-2.1.4.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox