summaryrefslogtreecommitdiff
path: root/recipes/gpe-sketchbook/gpe-sketchbook_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gpe-sketchbook/gpe-sketchbook_svn.bb')
-rw-r--r--recipes/gpe-sketchbook/gpe-sketchbook_svn.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/gpe-sketchbook/gpe-sketchbook_svn.bb b/recipes/gpe-sketchbook/gpe-sketchbook_svn.bb
new file mode 100644
index 0000000000..929d622a51
--- /dev/null
+++ b/recipes/gpe-sketchbook/gpe-sketchbook_svn.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "A GPE notebook to sketch your notes"
+SECTION = "gpe"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "libgpewidget sqlite"
+PV = "0.2.9+svnr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+inherit pkgconfig autotools
+
+SRC_URI = "\
+ ${GPE_SVN} \
+ file://svn-build.patch;patch=1 \
+"
+S = "${WORKDIR}/${PN}"
+
+export CVSBUILD = "no"
+CFLAGS += "-D_GNU_SOURCE"
+
+do_compile () {
+ oe_runmake PREFIX=${prefix}
+ oe_runmake all-desktop PREFIX=${prefix}
+}
+do_install () {
+ oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program
+}
+
+FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN} += " ${datadir}/gpe/pixmaps"