void-packages/srcpkgs/proj/template

27 lines
614 B
Bash

# Template file for 'proj'
pkgname=proj
version=5.0.1
revision=1
build_style=gnu-configure
short_desc="Cartographic Projections Library"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="http://proj4.org"
distfiles="http://download.osgeo.org/proj/proj-${version}.tar.gz"
checksum=a792f78897482ed2c4e2af4e8a1a02e294c64e32b591a635c5294cb9d49fdc8c
post_install() {
vlicense COPYING
}
proj-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}