libgtk3: fix runtime dependencies
[openadk.git] / package / librsvg / Makefile
blobe78a1e54186e410c855d8a5b536c8fa8203e699c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= librsvg
7 PKG_VERSION:= 2.40.15
8 PKG_EXTRAVER:= 2.40
9 PKG_RELEASE:= 1
10 PKG_HASH:= d9cac4a123eec6e553a26e120979bab7425def9ae7ce7c079eba5e4a45db05f4
11 PKG_DESCR:= svg library
12 PKG_BUILDDEP:= libcroco libgtk3
13 HOST_BUILDDEP:= glib-host libcroco-host gdk-pixbuf-host pango-host
14 PKG_SECTION:= libs/image
15 PKG_URL:= https://wiki.gnome.org/action/show/Projects/LibRsvg?action=show&redirect=LibRsvg
16 PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/librsvg/$(PKG_EXTRAVER)/
18 include $(ADK_TOPDIR)/mk/host.mk
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call HOST_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE}))
22 $(eval $(call PKG_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 HOST_STYLE:= auto
25 HOST_LDFLAGS+= -lffi -lgmodule-2.0 -lz -ldl -lresolv
26 HOST_CONFIGURE_ARGS+= --enable-introspection=no
28 CONFIGURE_ARGS+= --enable-introspection=no
30 librsvg-install:
31 $(INSTALL_DIR) $(IDIR_LIBRSVG)/usr/lib
32 $(CP) $(WRKINST)/usr/lib/librsvg*.so* \
33 $(IDIR_LIBRSVG)/usr/lib
35 include ${ADK_TOPDIR}/mk/host-bottom.mk
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk