Makefile 864 B

1234567891011121314151617181920212223242526272829303132
  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. MASTER_SITES:= http://www.libgd.org/releases/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_DIR}/usr/bin/libpng12-config"
  15. CONFIGURE_ARGS+= --without-x \
  16. --without-freetype \
  17. --with-jpeg=${STAGING_DIR}/usr \
  18. --with-png=${STAGING_DIR}/usr \
  19. --without-xpm
  20. BUILD_STYLE= auto
  21. INSTALL_STYLE= auto
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libgd.so.* ${IDIR_LIBGD}/usr/lib/
  25. include ${TOPDIR}/mk/pkg-bottom.mk