void-packages/srcpkgs/readosm/template

25 lines
773 B
Bash

# Template file for 'readosm'
pkgname=readosm
version=1.1.0a
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel expat-devel"
short_desc="ReadOSM library for extracting valid data from OpenStreetMap input"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="MPL-1.1, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gaia-gis.it/fossil/readosm/index"
distfiles="https://www.gaia-gis.it/gaia-sins/readosm-$version.tar.gz"
checksum=db7c051d256cec7ecd4c3775ab9bc820da5a4bf72ffd4e9f40b911d79770f145
readosm-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}