1234567891011121314151617181920212223242526272829303132 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= libpng
- PKG_VERSION:= 1.6.8
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 29b7065906e2551508a0d7eacd19174e
- PKG_DESCR:= A library for reading/writing PNG images
- PKG_SECTION:= libs
- PKG_DEPENDS:= zlib
- PKG_BUILDDEP:= zlib
- PKG_URL:= http://www.libpng.org/pub/png/libpng.html
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libpng/}
- PKG_OPTS:= dev
- ifeq ($(ADK_STATIC),y)
- PKG_OPTS+= libonly
- endif
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
- libpng-install:
- ${INSTALL_DIR} ${IDIR_LIBPNG}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libpng*.so* ${IDIR_LIBPNG}/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|