diff options
author | Benjamin Schieder <blindcoder@scavenger.homeip.net> | 2009-11-30 15:37:07 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2009-12-02 23:07:49 +0100 |
commit | 0d7c70004bf85ee59d8ce48d6d83c68b313859bd (patch) | |
tree | f45cace251dacdb9a85fb223a770bfae5a735111 /recipes/mokoeightball/mokoeightball_svn.bb | |
parent | 835892e3e6da74718036989e80547025b1473203 (diff) |
mokoeightball: new recipe and patch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/mokoeightball/mokoeightball_svn.bb')
-rw-r--r-- | recipes/mokoeightball/mokoeightball_svn.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/mokoeightball/mokoeightball_svn.bb b/recipes/mokoeightball/mokoeightball_svn.bb new file mode 100644 index 0000000000..dde59cb018 --- /dev/null +++ b/recipes/mokoeightball/mokoeightball_svn.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Magic 8 Ball" +HOMEPAGE = "http://www.opkg.org/package_35.html" +AUTHOR = "Jakob Westhoff" +LICENSE = "GPLv2" +SECTION = "x11/game" +SRCREV = "45" +PV = "0.2+svnr${SRCPV}" +PR = "r0" +S = "${WORKDIR}/" +FILES_${PN} += /usr/share/moko_eightball/Accelerometer/__init__.py +FILES_${PN} += /usr/share/moko_eightball/themes/eightball.edj + +SRC_URI = "svn://svn.pureenergy.cc/moko_eightball;module=.;proto=svn \ + file://files/fixpath.patch;patch=1" + +do_compile() { + cd python/src/data/themes + ./maketheme.sh +} + +do_install() { + cd python + install -d 0755 ${D}/usr/share/moko_eightball + install -d 0755 ${D}/usr/share/moko_eightball/Accelerometer + install -d 0755 ${D}/usr/share/moko_eightball/themes + install -d 0755 ${D}/usr/share/applications + install -d 0755 ${D}/usr/share/pixmaps + install -d 0755 ${D}/usr/bin + install -m 0755 src/eightball.py ${D}/usr/bin/eightball + install -m 0644 src/Accelerometer/__init__.py ${D}/usr/share/moko_eightball/Accelerometer/ + install -m 0644 src/data/themes/eightball.edj ${D}/usr/share/moko_eightball/themes/eightball.edj + install -m 0644 ipk/usr/share/applications/eightball.desktop ${D}/usr/share/applications/eightball.desktop + install -m 0644 ipk/usr/share/pixmaps/eightball.png ${D}/usr/share/pixmaps/eightball.png +} |