Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= libgd
  5. PKG_VERSION:= 2.1.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 03588159bf4faab9079849c8d709acc6
  8. PKG_DESCR:= A library for the dynamic creation of images
  9. PKG_SECTION:= libs
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ARGS+= --without-x \
  20. --without-freetype \
  21. --with-jpeg=${STAGING_TARGET_DIR}/usr \
  22. --with-png=${STAGING_TARGET_DIR}/usr \
  23. --without-tiff \
  24. --without-vpx \
  25. --without-xpm
  26. libgd-install:
  27. ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libgd.so* ${IDIR_LIBGD}/usr/lib
  29. include ${TOPDIR}/mk/pkg-bottom.mk