Makefile 1.1 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:= advanced replacement library for libraries like libxpm
  9. PKG_SECTION:= libs/image
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,IMLIB2,imlib2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  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