summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/neartree/ChangeLog8
-rw-r--r--sci-libs/neartree/Manifest17
-rw-r--r--sci-libs/neartree/files/CMakeLists.txt21
-rw-r--r--sci-libs/neartree/metadata.xml8
-rw-r--r--sci-libs/neartree/neartree-3.1.1-r1.ebuild28
5 files changed, 75 insertions, 7 deletions
diff --git a/sci-libs/neartree/ChangeLog b/sci-libs/neartree/ChangeLog
index 02c936c52a83..ec5afd79d9e3 100644
--- a/sci-libs/neartree/ChangeLog
+++ b/sci-libs/neartree/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/neartree
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.19 2012/03/01 20:04:27 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.20 2012/05/30 12:34:19 jlec Exp $
+
+*neartree-3.1.1-r1 (30 May 2012)
+
+ 30 May 2012; Justin Lecher <jlec@gentoo.org> +neartree-3.1.1-r1.ebuild,
+ +files/CMakeLists.txt, metadata.xml:
+ Clean buildsystem and move to cmake instead of patching
01 Mar 2012; Brent Baude <ranger@gentoo.org> neartree-2.3.2.ebuild:
Marking neartree-2.3.2 ppc for bug 393999
diff --git a/sci-libs/neartree/Manifest b/sci-libs/neartree/Manifest
index bdd1f2736883..5117ce48d414 100644
--- a/sci-libs/neartree/Manifest
+++ b/sci-libs/neartree/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
AUX 2.1.4-test.patch 638 RMD160 8d3352b9c48ed13f724d10e6551cca4df478e466 SHA1 86937e57f7e5d0f5e82d91b91bfe42394502d29b SHA256 0771a2a7ac552d56d8642388300ba1b4b51d781aeb89e7594ef9ea0129d5f0ad
AUX 2.3.1-gentoo.patch 4422 RMD160 fb2773f84bd00f891499362978225426136b7e94 SHA1 4affc0201cf4c719321304c9361d9447fa4a10fb SHA256 50babce2d4716e04443d97389b86971ded740c2cdd7597dcf335a83552149688
AUX 2.3.2-gentoo.patch 3749 RMD160 f2e6c709b1fba436141a14420f8b29db60691f0a SHA1 562ae63329110a50eda4a046c60baef12d48b3ee SHA256 620e216fe0788bac4dbdd24c1df01293548449b1ead22b965455ed99f45a86bb
@@ -5,9 +8,19 @@ AUX 2.3.2-notest.patch 909 RMD160 ebe5d417543eb4c2858b437e72fd27481f4d2029 SHA1
AUX 3.1.1-gentoo.patch 4126 RMD160 cf24a708043b3c787480e1579659f85eb9d1c2ea SHA1 6382cd1a3249dedfe878af09f2b94728de7c2bf5 SHA256 c8f982a452150e77af0fdce0c553482843f01035da21239cbc0fb29617ea8a31
AUX 3.1.1-notest.patch 1366 RMD160 9b5c3478ccbe1903a2c9f767187db548eb2676b1 SHA1 7599c18b060ad7343e250e9462698e050f209943 SHA256 8be383d574238ee7624be5ae9ad2bcb764bf7527278374510b4647dce5448fc4
AUX 3.1.1-test.patch 1199 RMD160 9533be0e26e4c950671eff35edf7d7c7274c2851 SHA1 61bbd5408793af174f7b06409b1caeb464196a55 SHA256 aaeac706dbd67c700907d6ee9a21229cbf63ee86b15891e1839811289871e7ba
+AUX CMakeLists.txt 866 RMD160 ee972a8579208eb240db01602ebd9f34aadf6495 SHA1 79f2f32c94447341c022abc3d3a7dc1186255b5d SHA256 d27c757f7f09e2b9069836cb45fa9eaa37a0ff637dd4f5af1414eda76d9d9e5c
DIST neartree-2.3.2.tar.gz 99412 RMD160 6969e5d82b70462bc0a61913b72e37feef3028d1 SHA1 5963e766f9de2a1c8b111c9b60e314760c2ac297 SHA256 1bdb2f9e157008e2c99ffbbe031b36b0ccb95ef18cd6df5a1b06892c9a562f2c
DIST neartree-3.1.1.tar.gz 124848 RMD160 9b3d8a1a0cab19c36f136adbb6b341f8c36b50a2 SHA1 7ebb331c850665af68ffbe01c53278ada6a8cf8a SHA256 5f26d0bef816f492d3939fbe06b8523a495a1fe4d06e9f8283f68a55436961ae
EBUILD neartree-2.3.2.ebuild 1268 RMD160 df3832b1fbf4ff649ebca1581dd3c7fc10ee9009 SHA1 ccf539f56577dc4e4b359964f605cb4a366f5008 SHA256 d6578ec02bf8eeeccb8d9e1b29ba4c1d2e7d664abe1bee72e2a0978f168ed330
+EBUILD neartree-3.1.1-r1.ebuild 762 RMD160 629a964b778da92b818ec39db5201709376621b1 SHA1 1942da2e2523d54b84599fe57dafdb8fd12cfeac SHA256 20fe6c9950118427c25e9a464e6ebb97ef1b3175c147c140f38aa041852465b7
EBUILD neartree-3.1.1.ebuild 1193 RMD160 467b988411a85eb2da60a5a2cdc14262a05d990c SHA1 cbebaf6b9bc576dd3816d1126d5bde4eeef9ea9b SHA256 2bfae29ee158019fb35e09ffde1b07891629f5b6f062e566949a470eb5c2a84d
-MISC ChangeLog 3245 RMD160 ab38e89e3c3a9b6b8747844c6f9b16fd8e03f09e SHA1 f917eede521ec9338af3796ab2aad48e8d44362e SHA256 58ffc5f23f4bda80db6380140acb37471c1ef4e23abea87c28876269515d1724
-MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+MISC ChangeLog 3449 RMD160 2aad274428c476c2ebeab788299056456b786507 SHA1 1bb0af1d9493e560853b33dc021e830e8364add2 SHA256 ada4fba81482be9590a19c88b37a8f1d8f9124a0390bb9d7451dd127f6ed6491
+MISC metadata.xml 218 RMD160 5dcdfc9ffbff78c3625f6ee6cd8242c0130bba48 SHA1 e7d6721263f31430e0dd04b17f16c27ebac78a89 SHA256 45420c665fb7a061ce85d5300ea7ed5a034a812dc286e2c87540b90d1388d79d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+Comment: GPGTools - http://gpgtools.org
+
+iEYEAREKAAYFAk/GE9AACgkQgAnW8HDreRbT5ACfYA9NGPzliVtlvfqOIkZoa+Yu
+FtcAnjYNJ/5svM4uM6SRqtZ0AHBVu5nt
+=w5wc
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/neartree/files/CMakeLists.txt b/sci-libs/neartree/files/CMakeLists.txt
new file mode 100644
index 000000000000..4d2f07eab958
--- /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}/${CMAKE_INSTALL_LIBDIR})
+install(FILES CNearTree.h rhrand.h TNear.h triple.h
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
+install(FILES README_NearTree.txt DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/neartree-${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE})
+install(FILES README_NearTree.html index.html DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/neartree-${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE}/html)
diff --git a/sci-libs/neartree/metadata.xml b/sci-libs/neartree/metadata.xml
index efb490d78817..d747d72a25b4 100644
--- a/sci-libs/neartree/metadata.xml
+++ b/sci-libs/neartree/metadata.xml
@@ -1,8 +1,8 @@
<?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>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sci@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/sci-libs/neartree/neartree-3.1.1-r1.ebuild b/sci-libs/neartree/neartree-3.1.1-r1.ebuild
new file mode 100644
index 000000000000..030c5e59630f
--- /dev/null
+++ b/sci-libs/neartree/neartree-3.1.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1-r1.ebuild,v 1.1 2012/05/30 12:34:19 jlec Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+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}/${PN}/${MY_P}/${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() {
+ cp "${FILESDIR}"/CMakeLists.txt . || die
+}