Makefile 843 B

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