Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= gd
  7. PKG_VERSION:= 2.0.35
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 982963448dc36f20cb79b6e9ba6fdede
  10. PKG_DESCR:= A library for the dynamic creation of images
  11. PKG_SECTION:= libs
  12. PKG_DEPENDS:= libjpeg libpng
  13. PKG_URL:= http://www.libgd.org
  14. PKG_SITES:= http://www.libgd.org/releases/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE= gnu
  18. CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_DIR}/usr/bin/libpng12-config"
  19. CONFIGURE_ARGS+= --without-x \
  20. --without-freetype \
  21. --with-jpeg=${STAGING_DIR}/usr \
  22. --with-png=${STAGING_DIR}/usr \
  23. --without-xpm
  24. BUILD_STYLE= auto
  25. INSTALL_STYLE= auto
  26. post-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