[oe-commits] Martin Jansa : fsoraw: add recipe for fsoraw rewritten in vala

git version control git at git.openembedded.org
Sun May 2 19:18:03 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e0fd0683b2cec0bf449701a4baf4290587d0f809
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e0fd0683b2cec0bf449701a4baf4290587d0f809

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sat May  1 15:50:12 2010 +0200

fsoraw: add recipe for fsoraw rewritten in vala

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/freesmartphone/fsoraw_git.bb |   18 ++++++++++++++++++
 recipes/freesmartphone/fsoraw_svn.bb |    6 ++++++
 2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/recipes/freesmartphone/fsoraw_git.bb b/recipes/freesmartphone/fsoraw_git.bb
new file mode 100644
index 0000000..d16811b
--- /dev/null
+++ b/recipes/freesmartphone/fsoraw_git.bb
@@ -0,0 +1,18 @@
+require cornucopia.inc
+
+DESCRIPTION = "A console wrapper for the FSO Usage API"
+AUTHOR = "Michael 'Mickey' Lauer <mlauer at vanille-media.de>"
+SECTION = "fso/base"
+LICENSE = "GPLv2"
+SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
+PV = "1.0.0+gitr${SRCPV}"
+PR = "${INC_PR}.0"
+PE = "1"
+
+S = "${WORKDIR}/git/tools/fso-raw"
+
+# for backward compatibility in scripts
+do_install_append() {
+        install -d ${D}${bindir}
+	ln -s fso-raw ${D}${bindir}/fsoraw
+}
diff --git a/recipes/freesmartphone/fsoraw_svn.bb b/recipes/freesmartphone/fsoraw_svn.bb
index 74b1274..f10f221 100644
--- a/recipes/freesmartphone/fsoraw_svn.bb
+++ b/recipes/freesmartphone/fsoraw_svn.bb
@@ -12,3 +12,9 @@ SRC_URI = "svn://noko.svn.sourceforge.net/svnroot/noko/trunk;module=fsoraw;proto
 S = "${WORKDIR}/fsoraw/"
 
 inherit autotools
+
+# for forward compatibility in scripts
+do_install_append() {
+        install -d ${D}${bindir}
+        ln -s fsoraw ${D}${bindir}/fso-raw
+}





More information about the Openembedded-commits mailing list