void-packages/srcpkgs/libspatialindex/template

25 lines
693 B
Bash

# Template file for 'libspatialindex'
pkgname=libspatialindex
version=1.9.0
revision=1
build_style=cmake
short_desc="Framework that supports robust spatial indexing methods and queries"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="MIT"
homepage="http://libspatialindex.github.io/"
distfiles="https://github.com/libspatialindex/libspatialindex/archive/${version}.tar.gz"
checksum=7c8809cd7e827efdc8bd80f786cf2a2d4f25adb92f954d46f7f28ad410bd46e2
post_install() {
vlicense COPYING
}
libspatialindex-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}