summaryrefslogtreecommitdiff
path: root/recipes/libqanava/libqanava_0.0.7.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/libqanava/libqanava_0.0.7.bb
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/libqanava/libqanava_0.0.7.bb')
-rw-r--r--recipes/libqanava/libqanava_0.0.7.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes/libqanava/libqanava_0.0.7.bb b/recipes/libqanava/libqanava_0.0.7.bb
new file mode 100644
index 0000000000..3b0dd2d3bf
--- /dev/null
+++ b/recipes/libqanava/libqanava_0.0.7.bb
@@ -0,0 +1,49 @@
+DESCRIPTION = "Qanava is a graph library based on the Qt4 Arthur framework."
+SECTION = "x11/libs"
+HOMEPAGE = "http://www.libqanava.org/"
+# LGPL after 0.0.7
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://www.libqanava.org/dl/qanava-${PV}.tar.gz"
+S = "${WORKDIR}/qanava-${PV}"
+
+inherit qt4x11
+
+PARALLEL_MAKE = ""
+
+EXTRA_QMAKEVARS_POST = "CONFIG+=thread CONFIG-=staticlib CONFIG-=debug"
+
+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 = "${PN}-dbg libqanava-can libqanava-la libqanava-utl qanava-examples ${PN}"
+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}"
+