Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031
  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:= imlib2
  5. PKG_VERSION:= 1.4.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 20d59c7cda06742015baade6f5975415
  8. PKG_DESCR:= Version 2 of an advanced replacement library for libraries like libXpm
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libfreetype zlib libpng libtiff
  11. PKG_BUILDDEP:= freetype zlib libpng libtiff
  12. PKG_URL:= http://www.enlightenment.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,IMLIB2,imlib2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  17. imlib2-install:
  18. $(INSTALL_DIR) $(IDIR_IMLIB2)/usr/lib/imlib2/{filters,loaders}
  19. ${CP} $(WRKINST)/usr/lib/libImlib2.so* $(IDIR_IMLIB2)/usr/lib
  20. ${CP} $(WRKINST)/usr/lib/imlib2/filters/*.so \
  21. $(IDIR_IMLIB2)/usr/lib/imlib2/filters
  22. ${CP} $(WRKINST)/usr/lib/imlib2/loaders/*.so \
  23. $(IDIR_IMLIB2)/usr/lib/imlib2/loaders
  24. include ${TOPDIR}/mk/pkg-bottom.mk