Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= libgd
  5. PKG_VERSION:= 2.1.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 03588159bf4faab9079849c8d709acc6
  8. PKG_DESCR:= library for the dynamic creation of images
  9. PKG_SECTION:= libs/image
  10. PKG_DEPENDS:= libpng libjpeg-turbo
  11. PKG_BUILDDEP:= libpng libjpeg-turbo
  12. PKG_URL:= http://www.libgd.org/
  13. PKG_SITES:= https://bitbucket.org/libgd/gd-libgd/downloads/
  14. PKG_LIBNAME:= libgd
  15. PKG_OPTS:= dev
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --without-x \
  19. --without-freetype \
  20. --with-jpeg=${STAGING_TARGET_DIR}/usr \
  21. --with-png=${STAGING_TARGET_DIR}/usr \
  22. --without-tiff \
  23. --without-vpx \
  24. --without-xpm
  25. libgd-install:
  26. ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libgd.so* ${IDIR_LIBGD}/usr/lib
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk