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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= libgd
  5. PKG_VERSION:= 2.1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 03588159bf4faab9079849c8d709acc6
  8. PKG_DESCR:= A library for the dynamic creation of images
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libjpeg libpng
  11. PKG_BUILDDEP:= libpng jpeg
  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-xpm
  24. libgd-install:
  25. ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libgd.so* ${IDIR_LIBGD}/usr/lib
  27. include ${TOPDIR}/mk/pkg-bottom.mk