/[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.1 - (hide annotations) (download)
Sun Jun 17 19:24:38 2012 UTC (7 years, 9 months ago) by jlec
Branch: MAIN
sci-libs/neartree: Install docs into $PF, #421629

(Portage version: 2.2.0_alpha110/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     # $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1-r2.ebuild,v 1.1 2012/05/30 19:04:57 jlec Exp $
4    
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     KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
19     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