Makefile 853 B

123456789101112131415161718192021222324252627282930
  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:= libpng
  7. PKG_VERSION:= 1.2.36
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 4779cd011409ea9b591e11638781f0bf
  10. PKG_DESCR:= A library for reading/writing PNG images
  11. PKG_SECTION:= libs
  12. PKG_DEPENDS:= zlib
  13. PKG_URL:= http://www.libpng.org/pub/png/libpng.html
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libpng/}
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE= gnu
  18. BUILD_STYLE= auto
  19. INSTALL_STYLE= auto confprog
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBPNG}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libpng{,12}.so.* ${IDIR_LIBPNG}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk