template 884 B

1234567891011121314151617181920212223242526272829303132
  1. # Template file for 'libtiff5'
  2. pkgname=libtiff5
  3. version=4.4.0
  4. revision=1
  5. build_style=gnu-configure
  6. configure_args="--enable-cxx --without-x"
  7. hostmakedepends="automake libtool"
  8. makedepends="jbigkit-devel libjpeg-turbo-devel
  9. liblzma-devel libzstd-devel zlib-devel"
  10. short_desc="Library and tools for reading and writing TIFF data files"
  11. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  12. license="libtiff"
  13. homepage="http://www.simplesystems.org/libtiff/"
  14. distfiles="https://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
  15. checksum=917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed
  16. pre_configure() {
  17. autoreconf -fi
  18. }
  19. post_install() {
  20. vlicense COPYRIGHT
  21. rm -r ${DESTDIR}/usr/share/doc \
  22. ${DESTDIR}/usr/share/man \
  23. ${DESTDIR}/usr/bin \
  24. ${DESTDIR}/usr/include \
  25. ${DESTDIR}/usr/lib/*.a \
  26. ${DESTDIR}/usr/lib/*.so \
  27. ${DESTDIR}/usr/lib/pkgconfig
  28. }