/[gentoo-x86]/sci-libs/neartree/neartree-3.1.1-r3.ebuild
Gentoo

Contents of /sci-libs/neartree/neartree-3.1.1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Oct 31 16:46:31 2012 UTC (7 years, 7 months ago) by ago
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable for amd64, wrt bug #440372

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 jlec 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1-r3.ebuild,v 1.1 2012/06/17 19:24:38 jlec Exp $
4 jlec 1.1
5     EAPI=4
6    
7     inherit cmake-utils
8    
9     MY_PN=NearTree
10     MY_P="${MY_PN}-${PV}"
11    
12     DESCRIPTION="Function library efficiently solving the Nearest Neighbor Problem(known as the post office problem)"
13     HOMEPAGE="http://neartree.sourceforge.net/"
14     SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz -> ${P}.tar.gz"
15    
16     LICENSE="LGPL-2.1"
17     SLOT="0"
18 ago 1.2 KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
19 jlec 1.1 IUSE="static-libs"
20    
21     RDEPEND="dev-libs/cvector"
22     DEPEND="${RDEPEND}"
23    
24     S="${WORKDIR}"/${MY_P}
25    
26     src_prepare() {
27     cp "${FILESDIR}"/CMakeLists.txt . || die
28     }
29    
30     src_configure() {
31     local mycmakeargs=( -DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}" )
32     cmake-utils_src_configure
33     }

  ViewVC Help
Powered by ViewVC 1.1.20