void-packages/srcpkgs/libspatialite/template

28 lines
906 B
Bash

# Template file for 'libspatialite'
pkgname=libspatialite
version=5.0.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config geos-devel"
makedepends="sqlite-devel zlib-devel proj-devel freexl-devel
geos-devel librttopo-devel libxml2-devel minizip-devel"
short_desc="SQLite extension for Spatial SQL capabilities"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.gaia-gis.it/fossil/libspatialite/index"
distfiles="http://www.gaia-gis.it/gaia-sins/libspatialite-$version.tar.gz"
checksum=eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98
# Checks don't all pass for this release.
make_check=no
libspatialite-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
}
}