# Template file for 'geos'
pkgname=geos
version=3.7.0
revision=1
build_style=gnu-configure
short_desc="C++ port of the Java Topology Suite (JTS)"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="LGPL-2.1-or-later"
homepage="https://trac.osgeo.org/geos"
distfiles="http://download.osgeo.org/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=4fbf41a792fd74293ab59e0a980e8654cd411a9d45416d66eaa12d53d1393fd7

geos-devel_package() {
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/geos-config
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/libgeos.so"
		vmove "usr/lib/libgeos_c.so"
	}
}
