From f632280a9042ed7e86c7bf30c948f1cbbbe742d5 Mon Sep 17 00:00:00 2001 From: Florian Eich Date: Wed, 31 Jan 2018 01:41:29 +0100 Subject: [PATCH] New package: flann-1.9.1 --- common/shlibs | 2 ++ srcpkgs/flann-devel | 1 + srcpkgs/flann/template | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/flann-devel create mode 100644 srcpkgs/flann/template diff --git a/common/shlibs b/common/shlibs index 29234fc1aea..dc8b6fe7d06 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3102,4 +3102,6 @@ libgnuradio-pmt-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1 libgnuradio-blocks-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1 libgnuradio-audio-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1 libgnuradio-noaa-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1 +libflann_cpp.so.1.9 flann-1.9.1_1 +libflann.so.1.9 flann-1.9.1_1 libvolume_key.so.1 volume_key-0.3.9_1 diff --git a/srcpkgs/flann-devel b/srcpkgs/flann-devel new file mode 120000 index 00000000000..d872e5ed491 --- /dev/null +++ b/srcpkgs/flann-devel @@ -0,0 +1 @@ +flann \ No newline at end of file diff --git a/srcpkgs/flann/template b/srcpkgs/flann/template new file mode 100644 index 00000000000..9d8ddeaca89 --- /dev/null +++ b/srcpkgs/flann/template @@ -0,0 +1,26 @@ +# Template file for 'flann' +pkgname=flann +version=1.9.1 +revision=1 +build_style=cmake +makedepends="gtest-devel hdf5-devel" +short_desc="Fast library for approximate nearest neighbors" +maintainer="Florian Eich " +license="BSD" +homepage="http://www.cs.ubc.ca/research/${pkgname}/" +distfiles="https://github.com/mariusmuja/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=b23b5f4e71139faa3bcb39e6bbcc76967fbaf308c4ee9d4f5bfbeceaa76cc5d3 + +post_install() { + vlicense COPYING +} + +flann-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove /usr/include + vmove /usr/lib/*.a + vmove /usr/lib/*.so + } +}