summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-26 08:51:01 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-26 08:51:01 +0100
commitd099cc6187bfa1e2c719c1616aa60c28007a0eb1 (patch)
tree9866668b6fd0df44dd22a7d1a450703f2991927c /recipes
parent77ec121b1bb96ea4621c8e761a5740cd4bb3cfc9 (diff)
calc: add v0.0.3 recipe
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/calc/calc_0.0.3.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/calc/calc_0.0.3.bb b/recipes/calc/calc_0.0.3.bb
new file mode 100644
index 0000000000..1e261f88a6
--- /dev/null
+++ b/recipes/calc/calc_0.0.3.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "A simple calculator which is elementary-themed"
+HOMEPAGE = "http://github.com/spaetz/calc"
+AUTHOR = "Sebastian Spaeth <Sebastian@SSpaeth.de>"
+LICENSE = "MIT"
+RDEPENDS = "python-elementary python python-edbus"
+SECTION = "x11/application"
+PR = "r0"
+
+
+SRC_URI = "git://github.com/spaetz/calc.git;protocol=http;branch=master;tag=${PV}"
+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"