Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= gdk-pixbuf
  5. PKG_VERSION:= 2.23.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 74818d3ac4d7ebaf6bf24883c171a885
  8. PKG_DESCR:= GDK pixbuf library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= jpeg libtiff
  11. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.23/
  12. PKG_NEED_CXX:= 1
  13. PKG_SUBPKGS:= GDK_PIXBUF GDK_PIXBUF_DEV
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,GDK_PIXBUF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,GDK_PIXBUF_DEV,gdk-pixbuf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= gio_can_sniff=no
  18. gdk-pixbuf-install:
  19. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  20. $(CP) $(WRKINST)/usr/lib/libgdk_pixbuf*so* \
  21. $(IDIR_GDK_PIXBUF)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \
  23. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  24. $(CP) ./files/loaders.cache \
  25. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  26. gdk-pixbuf-dev-install:
  27. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF_DEV)/usr/lib/pkgconfig
  28. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  29. $(IDIR_GDK_PIXBUF_DEV)/usr/lib/pkgconfig
  30. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF_DEV)/usr/include
  31. $(CP) $(WRKINST)/usr/include/* \
  32. $(IDIR_GDK_PIXBUF_DEV)/usr/include
  33. include ${TOPDIR}/mk/pkg-bottom.mk