1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= librsvg
  5. PKG_VERSION:= 2.40.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 48049b643294636df7de1a4b997414d699666f5dc44776945c218a257d2a291c
  8. PKG_DESCR:= svg library
  9. PKG_BUILDDEP:= libcroco
  10. HOST_BUILDDEP:= libcroco-host gdk-pixbuf-host pango-host
  11. PKG_SECTION:= libs/image
  12. PKG_URL:= https://wiki.gnome.org/action/show/Projects/LibRsvg?action=show&redirect=LibRsvg
  13. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  15. include $(ADK_TOPDIR)/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE}))
  18. $(eval $(call PKG_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. HOST_CONFIGURE_ARGS+= --enable-introspection=no
  20. CONFIGURE_ARGS+= --enable-introspection=no
  21. librsvg-install:
  22. $(INSTALL_DIR) $(IDIR_LIBRSVG)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/librsvg*.so* \
  24. $(IDIR_LIBRSVG)/usr/lib
  25. include ${ADK_TOPDIR}/mk/host-bottom.mk
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk