diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2013-08-16 16:32:26 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-09-22 11:49:50 +0200 |
commit | ecbab11732a61456af21a79bfc3c564c044d7e22 (patch) | |
tree | 18c9c49a3494add819d8484133f8d9c166f5a93b /recipes-graphics | |
parent | 75c49269dfbf9de52bef13327a951231d6cd6f09 (diff) |
graphviz: add recipe
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/graphviz/files/cross_compile.patch | 12 | ||||
-rw-r--r-- | recipes-graphics/graphviz/graphviz_2.32.0.bb | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-graphics/graphviz/files/cross_compile.patch b/recipes-graphics/graphviz/files/cross_compile.patch new file mode 100644 index 0000000..85042c4 --- /dev/null +++ b/recipes-graphics/graphviz/files/cross_compile.patch @@ -0,0 +1,12 @@ +--- graphviz-2.32.0/lib/gvpr/Makefile.am~ 2013-08-14 15:13:03.000000000 +0200 ++++ graphviz-2.32.0git/lib/gvpr/Makefile.am 2013-08-14 15:17:26.039087759 +0200 +@@ -46,6 +46,9 @@ + + mkdefs_SOURCES = mkdefs.c + ++mkdefs: $(mkdefs_SOURCES) ++ $(BUILD_CC) -o $@ $< ++ + gdefs.h: $(top_srcdir)/lib/gvpr/gprdata mkdefs + ./mkdefs gdefs.h < $(top_srcdir)/lib/gvpr/gprdata + diff --git a/recipes-graphics/graphviz/graphviz_2.32.0.bb b/recipes-graphics/graphviz/graphviz_2.32.0.bb new file mode 100644 index 0000000..d71344e --- /dev/null +++ b/recipes-graphics/graphviz/graphviz_2.32.0.bb @@ -0,0 +1,20 @@ +SECTION = "graphical" +DESCRIPTION = "Graphviz - Graph Visualization Software" +HOMEPAGE = "http://www.graphviz.org" +LICENSE = "EPL-1.0" +DEPENDS = "cairo pango expat" +RDEPENDS_${PN} = "cairo pango expat" + +SRC_URI = "http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-${PV}.tar.gz \ + file://cross_compile.patch" +LIC_FILES_CHKSUM = "file://COPYING;md5=9109f5fc16cf963fb3cdd32781b3ce04" +SRC_URI[md5sum] = "deda3933da701e2cc9ad968249a0b096" +SRC_URI[sha256sum] = "d853b2313e08a1dd0cce20d9ff8051acfa9ec418b5ba2dc65c8f4ddb07a7a77a" + +PR = "r1" + +FILES_${PN}-dev += " \ + /usr/lib/graphviz/*.so \ +" + +inherit autotools |