1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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:= 4
  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 libx11 libxext
  11. PKG_BUILDDEP:= freetype zlib libpng libtiff libX11 libXext
  12. PKG_URL:= http://www.enlightenment.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
  14. PKG_OPTS:= dev
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,IMLIB2,imlib2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  18. imlib2-install:
  19. $(INSTALL_DIR) $(IDIR_IMLIB2)/usr/lib/imlib2/{filters,loaders}
  20. ${CP} $(WRKINST)/usr/lib/libImlib2.so* $(IDIR_IMLIB2)/usr/lib
  21. ${CP} $(WRKINST)/usr/lib/imlib2/filters/*.so \
  22. $(IDIR_IMLIB2)/usr/lib/imlib2/filters
  23. ${CP} $(WRKINST)/usr/lib/imlib2/loaders/*.so \
  24. $(IDIR_IMLIB2)/usr/lib/imlib2/loaders
  25. include ${TOPDIR}/mk/pkg-bottom.mk