void-packages/srcpkgs/tiff5/template

28 lines
893 B
Bash

# Template file for 'tiff5'
# required by wps-office
pkgname=tiff5
version=4.4.0
revision=1
build_style=gnu-configure
configure_args="--enable-cxx --without-x"
makedepends="jbigkit-devel libjpeg-turbo-devel
liblzma-devel libzstd-devel zlib-devel"
short_desc="Library and tools for reading and writing TIFF data files"
maintainer="mobinmob <mobinmob@disroot.org>"
license="libtiff"
homepage="http://www.simplesystems.org/libtiff/"
distfiles="https://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
checksum=917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed
post_install() {
vlicense COPYRIGHT
# Remove binaries and their man pages.
rm -rf "${DESTDIR}"/usr/bin
rm -rf "${DESTDIR}"/usr/include
rm -rf "${DESTDIR}"/usr/lib/pkgconfig
rm -rf "${DESTDIR}"/usr/lib/*.a
rm -rf "${DESTDIR}"/usr/lib/*.so
rm -rf "${DESTDIR}"/usr/share/man
rm -rf "${DESTDIR}"/usr/share/doc
}