summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-06 20:49:23 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-06 20:49:23 +0000
commit7c93dd56e4702f6ae849ed7e1fd27683c13b2351 (patch)
tree09fbc61458e4a3285dc68157d42713b9e872ab4b
parentb60425fc35d7e9e23b7db25aa6ed3f1867538783 (diff)
add libqanava, a graph library based on the Qt3 Canvas
-rw-r--r--packages/libqanava/.mtn2git_empty0
-rw-r--r--packages/libqanava/libqanava_0.0.3.bb50
2 files changed, 50 insertions, 0 deletions
diff --git a/packages/libqanava/.mtn2git_empty b/packages/libqanava/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libqanava/.mtn2git_empty
diff --git a/packages/libqanava/libqanava_0.0.3.bb b/packages/libqanava/libqanava_0.0.3.bb
new file mode 100644
index 0000000000..31d731b81f
--- /dev/null
+++ b/packages/libqanava/libqanava_0.0.3.bb
@@ -0,0 +1,50 @@
+DESCRIPTION = "Qanava is a library built on top of the standard QT QCanvas \
+to enable graphical display of graphs and other relational structures."
+SECTION = "x11/libs"
+HOMEPAGE = "http://www.libqanava.org/"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+DEPENDS = "qt-x11-free-3.3.3"
+
+SRC_URI = "http://www.libqanava.org/dl/qanava-${PV}.tar.gz"
+S = "${WORKDIR}/qanava-${PV}"
+
+inherit qmake qt3x11
+
+PARALLEL_MAKE = ""
+
+EXTRA_QMAKEVARS_POST = "CONFIG+=thread CONFIG-=staticlib"
+
+do_configure_prepend() {
+ find . -name "Makefile"|xargs rm -f
+}
+
+LIBS = "can la utl"
+BINS = "basic layout logo timetree"
+
+do_stage() {
+ for lib in ${LIBS}
+ do
+ oe_libinstall -so -C build libqanava_$lib ${D}${libdir}
+ done
+}
+
+do_install() {
+ for lib in ${LIBS}
+ do
+ oe_libinstall -so -C build libqanava_$lib ${D}${libdir}
+ done
+
+ install -d ${D}${bindir}
+ for bin in ${BINS}
+ do
+ install -m 0755 tests/$bin/test_$bin ${D}${bindir}
+ done
+}
+
+PACKAGES = "libqanava-can libqanava-la libqanava-utl qanava-examples"
+FILES_libqanava-can = "${libdir}/libqanava_can*.so*"
+FILES_libqanava-la = "${libdir}/libqanava_la*.so*"
+FILES_libqanava-utl = "${libdir}/libqanava_utl*.so*"
+FILES_qanava-examples = "${bindir}"
+