void-packages/srcpkgs/libgeotiff/template

31 lines
911 B
Bash

# Template file for 'libgeotiff'
pkgname=libgeotiff
version=1.7.1
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config"
makedepends="proj-devel tiff-devel sqlite-devel"
short_desc="TIFF based interchange format for georeferenced raster imagery"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="MIT"
homepage="https://github.com/OSGeo/libgeotiff"
distfiles="https://github.com/OSGeo/libgeotiff/releases/download/${version}/libgeotiff-${version}.tar.gz"
checksum=05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6
post_install() {
vlicense LICENSE
vmkdir usr/share/doc/libgeotiff
mv $DESTDIR/usr/doc/ $DESTDIR/usr/share/doc/libgeotiff/
}
libgeotiff-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share/cmake
}
}