1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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:= gd
  5. PKG_VERSION:= 2.0.35
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 982963448dc36f20cb79b6e9ba6fdede
  8. PKG_DESCR:= A library for the dynamic creation of images
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libjpeg libpng
  11. PKG_URL:= http://www.libgd.org
  12. PKG_SITES:= http://www.libgd.org/releases/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= autotool gnu
  16. CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_DIR}/usr/bin/libpng12-config"
  17. CONFIGURE_ARGS+= --without-x \
  18. --without-freetype \
  19. --with-jpeg=${STAGING_DIR}/usr \
  20. --with-png=${STAGING_DIR}/usr \
  21. --without-xpm
  22. BUILD_STYLE= auto
  23. INSTALL_STYLE= auto
  24. post-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