summaryrefslogtreecommitdiff
path: root/package/librsvg/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-30 13:26:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-30 13:31:20 +0200
commit5a43da1af12df3a39cd30b724bf9144850bd2764 (patch)
tree1480c5d41b739168d930ddf503f407218e35b98d /package/librsvg/Makefile
parent30d6f21d2fb3ca89a86346994a70a436afbb2e14 (diff)
experimental midori support
Diffstat (limited to 'package/librsvg/Makefile')
-rw-r--r--package/librsvg/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/librsvg/Makefile b/package/librsvg/Makefile
new file mode 100644
index 000000000..39eeaab5d
--- /dev/null
+++ b/package/librsvg/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= librsvg
+PKG_VERSION:= 2.40.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= acdecdb9f08f3bf662a68bf7dafb8b82
+PKG_DESCR:= SVG library
+PKG_BUILDDEP:= libcroco
+HOST_BUILDDEP:= libcroco-host
+PKG_SECTION:= libs
+PKG_URL:= https://wiki.gnome.org/action/show/Projects/LibRsvg?action=show&redirect=LibRsvg
+PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/host.mk
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE}))
+$(eval $(call PKG_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+HOST_STYLE:= auto
+CONFIGURE_ARGS+= --enable-introspection=no
+
+librsvg-install:
+ $(INSTALL_DIR) $(IDIR_LIBRSVG)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/librsvg*.so* \
+ $(IDIR_LIBRSVG)/usr/lib
+
+include ${TOPDIR}/mk/host-bottom.mk
+include ${TOPDIR}/mk/pkg-bottom.mk