Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libjpeg-turbo
  5. PKG_VERSION:= 1.4.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d93ad8546b510244f863b39b4c0da0fa4c0d53a77b61a8a3880f258c232bbbee
  8. PKG_DESCR:= jpeg image library
  9. PKG_SECTION:= libs/image
  10. PKG_BUILDDEP_IBM_X40:= yasm-host
  11. PKG_BUILDDEP_QEMU_X86:= yasm-host
  12. PKG_URL:= http://libjpeg-turbo.virtualgl.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
  14. PKG_OPTS:= dev
  15. PKG_NOPARALLEL:= 1
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. TARGET_CFLAGS+= -fPIC
  20. ifeq ($(ADK_x32),y)
  21. CONFIGURE_ARGS+= --without-simd
  22. endif
  23. CONFIGURE_ARGS+= --with-pic
  24. libjpeg-turbo-install:
  25. $(INSTALL_DIR) $(IDIR_LIBJPEG_TURBO)/usr/lib
  26. $(CP) $(WRKINST)/usr/lib/lib{turbo,}jpeg*.so* \
  27. $(IDIR_LIBJPEG_TURBO)/usr/lib
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk