29 lines
696 B
Bash
29 lines
696 B
Bash
# Template file for 'proj'
|
|
pkgname=proj
|
|
version=6.1.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DPROJ_TESTS=OFF"
|
|
hostmakedepends="python3"
|
|
makedepends="sqlite-devel"
|
|
short_desc="Cartographic Projections Library"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="MIT"
|
|
homepage="https://proj4.org"
|
|
distfiles="https://download.osgeo.org/proj/proj-${version}.tar.gz"
|
|
checksum=5cf0a2360a28b5d724c53edbb87f3f3b14fd96001265411ac4e56f369e2d503f
|
|
|
|
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"
|
|
}
|
|
}
|