fsoraw: add recipe for fsoraw rewritten in vala
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 1 May 2010 13:50:12 +0000 (15:50 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sun, 2 May 2010 19:17:10 +0000 (21:17 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/freesmartphone/fsoraw_git.bb [new file with mode: 0644]
recipes/freesmartphone/fsoraw_svn.bb

diff --git a/recipes/freesmartphone/fsoraw_git.bb b/recipes/freesmartphone/fsoraw_git.bb
new file mode 100644 (file)
index 0000000..d16811b
--- /dev/null
@@ -0,0 +1,18 @@
+require cornucopia.inc
+
+DESCRIPTION = "A console wrapper for the FSO Usage API"
+AUTHOR = "Michael 'Mickey' Lauer <mlauer@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
+}
index 74b1274..f10f221 100644 (file)
@@ -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
+}