template 943 B

12345678910111213141516171819202122232425262728293031
  1. # Template file for 'libjpeg6-turbo'
  2. pkgname=libjpeg6-turbo
  3. version=2.1.5.1
  4. revision=1
  5. wrksrc=libjpeg-turbo-${version}
  6. build_style=cmake
  7. configure_args="-DCMAKE_INSTALL_LIBDIR=/usr/lib"
  8. hostmakedepends="yasm"
  9. short_desc="Derivative of libjpeg which uses SIMD instructions"
  10. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  11. license="IJG, BSD-3-Clause, Zlib"
  12. homepage="https://libjpeg-turbo.org/"
  13. changelog="https://raw.githubusercontent.com/libjpeg-turbo/libjpeg-turbo/main/ChangeLog.md"
  14. distfiles="${SOURCEFORGE_SITE}/libjpeg-turbo/libjpeg-turbo-${version}.tar.gz"
  15. checksum=2fdc3feb6e9deb17adec9bafa3321419aa19f8f4e5dea7bf8486844ca22207bf
  16. provides="jpeg-6_1"
  17. post_install() {
  18. vlicense LICENSE.md
  19. rm -r ${DESTDIR}/usr/share/doc \
  20. ${DESTDIR}/usr/share/man \
  21. ${DESTDIR}/usr/bin \
  22. ${DESTDIR}/usr/include \
  23. ${DESTDIR}/usr/lib/*.a \
  24. ${DESTDIR}/usr/lib/*.so \
  25. ${DESTDIR}/usr/lib/pkgconfig \
  26. ${DESTDIR}/usr/lib/cmake
  27. }