From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-libs/neartree/Manifest | 6 ++++++ sci-libs/neartree/files/CMakeLists.txt | 21 +++++++++++++++++++++ sci-libs/neartree/metadata.xml | 11 +++++++++++ sci-libs/neartree/neartree-5.1.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 sci-libs/neartree/Manifest create mode 100644 sci-libs/neartree/files/CMakeLists.txt create mode 100644 sci-libs/neartree/metadata.xml create mode 100644 sci-libs/neartree/neartree-5.1.1.ebuild (limited to 'sci-libs/neartree') diff --git a/sci-libs/neartree/Manifest b/sci-libs/neartree/Manifest new file mode 100644 index 000000000000..3b019e3f4604 --- /dev/null +++ b/sci-libs/neartree/Manifest @@ -0,0 +1,6 @@ +AUX CMakeLists.txt 713 SHA256 32ad9057abd52e07eb1d6870467e3903b7c5ba3e99f8a26a05e62d7b9ecb16a1 SHA512 038c8e23c642c6e5f6651b9c2cf29f8764a983294b9add97f9af8ac5d14ee52c1b47afa45791a21e8d783cb0e74801df17a34c1fbb08df1d7dd27ef2b4825b94 WHIRLPOOL 6c7609bf400d471ebf15db701ded2bff6fe30d8fa05bf676a8bb862502ac6e558782967513974a02930c0e45cf053af3f5285752689ed41fc321a2dcc8babf71 +DIST neartree-5.1.1.tar.gz 167695 SHA256 b951eb23bb4235ada82cef85b9f129bf74a14e45d992097431e7bfb6bdca6642 SHA512 36f2ab878319153440914325bed67d111dafcac724cbef73d439285f4ad82979b05d2987fa3802c440aa4a037499bf7961ef9b09fa3658364731b5a405854b00 WHIRLPOOL 1b878510835bd5139483f9ba27a61376bed0640af18e4f9f77f729bb880b7d3cac7d4a473954eb58645faeb512c92529fd9a300dde413b6872415d7ada5db2cd +EBUILD neartree-5.1.1.ebuild 718 SHA256 83c821640b5972ea6a00809647bfc20a29db19b82043c8f5c84b445e12d9a665 SHA512 24378cc8d83400f118dc5f8a56e727b00d3e322051b88db25a317283076f23036e83023c0cc2a2c9807b233c4fbbd380bde95fae29ef6c14229ba91cddeabc8e WHIRLPOOL a7c6d7ae61deaea1f99a4c2fd44694dd3b0efb0dd6708f174c96125de0bcbb9b21b13a42b00ca1733d4f6549d3b4170a682a82664048167ad0e8d705e725cb02 +MISC ChangeLog 3062 SHA256 cc41ad05c5c05baaaf3a2a3ebeb401a4488a161fe8d90da6de9d6567ccb0f83c SHA512 c63a287c3f0893382fe960ab37f3d09071bda189f1768d4e288d61d8d5172bfcb120ea6d3fcc3de27a9e84432123bf5302a71b4d7124e7ad90c370fc7a9080e8 WHIRLPOOL 3fbe50d9121f3eadac24902415f86493a024adb7138a14bf0810ce4b84685c59ee10dbd1be495e7904a819173e741664b5f4ecc2c74aad8af331f4da6900e2ef +MISC ChangeLog-2015 4348 SHA256 69aeba5f06adcd1f40441e8c28c6a34ab268a8d32051784620803a5653e05ff7 SHA512 2cc7a18ef6cfa1720abe8d7dc5b9a6c72280bc5be465ed5afbb63e9edb48494edc30062209bedaedb6eee8c8420cbd82a6840c87b0bac654fa47f8473b712522 WHIRLPOOL b5d15b6d2cf260c578679920f6e137014c4d6b6fe907239c27fcc6ced68092459062e1a8cdc40e6338eee60292e68d0754ad1f455179829485e540fde980a975 +MISC metadata.xml 331 SHA256 22bcc8c838f6b6cf76aee2c2b742df29e0ddd6f4c359761859c777c830953795 SHA512 3c16cfbd9d2ccac961a78b3d0cd4a0424933f2002a536a25fb192a5347e320282381c92a8f939c1e8c3437ef23a9c843c2b09369a6a6cd6fd7e38a51731d14d9 WHIRLPOOL 38aca8cefcd9e3c9d587cd2cf489a7175acc1fd166af79f9ceed50f433151c6161a19d5928be86963d5b44a569fde7d449e9dde8081713b3d39854d99f288b15 diff --git a/sci-libs/neartree/files/CMakeLists.txt b/sci-libs/neartree/files/CMakeLists.txt new file mode 100644 index 000000000000..cb4375da7964 --- /dev/null +++ b/sci-libs/neartree/files/CMakeLists.txt @@ -0,0 +1,21 @@ +cmake_minimum_required(VERSION 2.8) +project (Neartree C) + +SET (LIB_MAJOR 5) +SET (LIB_MINOR 1) +SET (LIB_RELEASE 0) + +SET (_soversion ${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE}) + +include_directories ("${PROJECT_SOURCE_DIR}") + +add_library(CNearTree SHARED CNearTree.c) +target_link_libraries(CNearTree CVector m) + +set_target_properties(CNearTree PROPERTIES SOVERSION ${LIB_MAJOR} VERSION ${_soversion}) + +INSTALL(TARGETS CNearTree DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}) +install(FILES CNearTree.h rhrand.h TNear.h triple.h + DESTINATION ${CMAKE_INSTALL_PREFIX}/include) +install(FILES README_NearTree.txt DESTINATION ${DOC_DIR}) +install(FILES README_NearTree.html index.html DESTINATION ${DOC_DIR}/html) diff --git a/sci-libs/neartree/metadata.xml b/sci-libs/neartree/metadata.xml new file mode 100644 index 000000000000..be72ab17e93d --- /dev/null +++ b/sci-libs/neartree/metadata.xml @@ -0,0 +1,11 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + neartree + + diff --git a/sci-libs/neartree/neartree-5.1.1.ebuild b/sci-libs/neartree/neartree-5.1.1.ebuild new file mode 100644 index 000000000000..b9631c226128 --- /dev/null +++ b/sci-libs/neartree/neartree-5.1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_PN=NearTree +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Function library efficiently solving the Nearest Neighbor Problem" +HOMEPAGE="http://neartree.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="dev-libs/cvector" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + cp "${FILESDIR}"/CMakeLists.txt . || die +} + +src_configure() { + local mycmakeargs=( -DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}" ) + cmake-utils_src_configure +} -- cgit v1.2.3