void-packages/srcpkgs/flann/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

27 lines
735 B
Bash

# Template file for 'flann'
pkgname=flann
version=1.9.1
revision=4
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
}
}