void-packages/srcpkgs/flann/template
2018-04-19 22:25:54 +02:00

28 lines
830 B
Bash

broken="https://build.voidlinux.eu/builders/i686_builder/builds/8824/steps/shell_3/logs/stdio"
# Template file for 'flann'
pkgname=flann
version=1.9.1
revision=3
build_style=cmake
makedepends="gtest-devel hdf5-devel"
short_desc="Fast library for approximate nearest neighbors"
maintainer="Florian Eich <flrn@nrmncr.net>"
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
vmove /usr/lib/pkgconfig
}
}