void-packages/srcpkgs/proj/template

27 lines
614 B
Bash

# Template file for 'proj'
pkgname=proj
version=4.9.3
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=6984542fea333488de5c82eea58d699e4aff4b359200a9971537cd7e047185f7
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"
}
}