summaryrefslogtreecommitdiff
path: root/recipes/openmoko-3rdparty/calc_git.bb
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-04 09:48:56 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-04 09:48:56 +0100
commita2d188c697ab1bb5a245284d41bf29065bc05c67 (patch)
treef2587bb113c9ff596b59c72187f586edaf4cb5c7 /recipes/openmoko-3rdparty/calc_git.bb
parent46a911631085da328514d9de00a2e21a8ef467de (diff)
calc: bump to v 0.0.4. Move to openmoko-3rdparty dir
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes/openmoko-3rdparty/calc_git.bb')
-rw-r--r--recipes/openmoko-3rdparty/calc_git.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/openmoko-3rdparty/calc_git.bb b/recipes/openmoko-3rdparty/calc_git.bb
new file mode 100644
index 0000000000..9914d23717
--- /dev/null
+++ b/recipes/openmoko-3rdparty/calc_git.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "A dead simple calculator. It's advantage is that it's elementary-themed"
+HOMEPAGE = "http://github.com/spaetz/calc"
+AUTHOR = "Sebastian Spaeth <Sebastian@SSpaeth.de>"
+SHR_RELEASE ?= "shr"
+LICENSE = "MIT"
+RDEPENDS = "python-elementary python python-edbus"
+SECTION = "x11/application"
+SRCREV ?= "1c17792094eb"
+PV = "0.0.1+gitr${SRCREV}"
+PR = "r1"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://github.com/spaetz/calc.git;protocol=http;branch=master"
+S = "${WORKDIR}/git"
+
+do_install(){
+ install -d ${D}${datadir}/applications
+ install -m 0644 ${S}/data/elementary-calculator.desktop ${D}${datadir}/applications/
+ install -d ${D}${datadir}/pixmaps
+ install -m 0644 ${S}/data/calculator.png ${D}${datadir}/pixmaps/
+ install -d ${D}${bindir}
+ install -m 0744 ${S}/calc ${D}${bindir}/
+}
+
+FILES_${PN} += "${prefix}/share/pixmaps"
+FILES_${PN} += "${prefix}/share/applications"