void-packages/srcpkgs/proj/template

30 lines
698 B
Bash

# Template file for 'proj'
pkgname=proj
version=6.3.2
revision=1
build_style=cmake
configure_args="-DPROJ_TESTS=OFF"
hostmakedepends="python3"
makedepends="sqlite-devel"
short_desc="Cartographic Projections Library"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://proj4.org"
distfiles="https://download.osgeo.org/proj/proj-${version}.tar.gz"
checksum=cb776a70f40c35579ae4ba04fb4a388c1d1ce025a1df6171350dc19f25b80311
post_install() {
vlicense COPYING
}
proj-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}