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
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}))
25 HOST_LDFLAGS
+= -lffi
-lgmodule-2.0
-lz
-ldl
-lresolv
26 HOST_CONFIGURE_ARGS
+= --enable-introspection
=no
28 CONFIGURE_ARGS
+= --enable-introspection
=no
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