Makefile 910 B

12345678910111213141516171819202122232425262728293031
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libjpeg-turbo
  5. PKG_VERSION:= 1.3.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2c3a68129dac443a72815ff5bb374b05
  8. PKG_DESCR:= JPEG library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://libjpeg-turbo.virtualgl.org/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. ifeq ($(ADK_x32),y)
  17. CONFIGURE_ARGS+= --without-simd
  18. endif
  19. libjpeg-turbo-install:
  20. $(INSTALL_DIR) $(IDIR_LIBJPEG_TURBO)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/lib{turbo,}jpeg*.so* \
  22. $(IDIR_LIBJPEG_TURBO)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk