29 lines
712 B
Bash
29 lines
712 B
Bash
# Template file for 'proj'
|
|
pkgname=proj
|
|
version=9.1.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="python3"
|
|
makedepends="libcurl-devel sqlite-devel tiff-devel"
|
|
short_desc="Cartographic Projections Library"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="MIT"
|
|
homepage="https://proj.org"
|
|
distfiles="https://download.osgeo.org/proj/proj-${version}.tar.gz"
|
|
checksum=003cd4010e52bb5eb8f7de1c143753aa830c8902b6ed01209f294846e40e6d39
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
proj-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision} libcurl-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|