aboutsummaryrefslogtreecommitdiff
path: root/package/libsvg/libsvg.mk
diff options
context:
space:
mode:
authorGravatar Carsten Schoenert <c.schoenert@gmail.com>2013-07-01 21:20:01 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-07-02 22:29:49 +0200
commit217438db67f6a1f02e1624038e65190c48f67087 (patch)
tree17ea102ebf87fbc9e2faf23cd055d0504096c228 /package/libsvg/libsvg.mk
parenta213dc6d53aef7076942c29a1338d0c9fb78ca64 (diff)
downloadbuildroot-217438db67f6a1f02e1624038e65190c48f67087.tar.gz
buildroot-217438db67f6a1f02e1624038e65190c48f67087.tar.bz2
package/libsvg: new package
Libsvg provides a library for parsing SVG content in files or buffers. Libsvg does not do any rendering, but instead provides a function-based interface that can be used by various rendering engines. [Peter: drop libxml2 conditional] Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libsvg/libsvg.mk')
-rw-r--r--package/libsvg/libsvg.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/libsvg/libsvg.mk b/package/libsvg/libsvg.mk
new file mode 100644
index 0000000000..70696478c9
--- /dev/null
+++ b/package/libsvg/libsvg.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# libsvg
+#
+################################################################################
+
+LIBSVG_VERSION = 0.1.4
+LIBSVG_SITE = http://cairographics.org/snapshots/
+LIBSVG_DEPENDENCIES = host-pkgconf libpng libjpeg
+LIBSVG_INSTALL_STAGING = YES
+LIBSVG_LICENSE = LGPLv2+
+LIBSVG_LICENSE_FILES = COPYING
+
+# libsvg needs at last a XML parser
+ifeq ($(BR2_PACKAGE_EXPAT),y)
+LIBSVG_CONF_OPT += --with-expat
+LIBSVG_DEPENDENCIES += expat
+else
+LIBSVG_CONF_OPT += --with-libxml2
+LIBSVG_DEPENDENCIES += libxml2
+endif
+
+$(eval $(autotools-package))