From bb0afba8d281a03f5bf21bc4a29ac495a342cc6d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 18 Nov 2009 08:59:59 +0100 Subject: calc: new recipe for elementary based calculator from SHR --- recipes/calc/calc_0.0.2.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes/calc/calc_0.0.2.bb (limited to 'recipes/calc/calc_0.0.2.bb') diff --git a/recipes/calc/calc_0.0.2.bb b/recipes/calc/calc_0.0.2.bb new file mode 100644 index 0000000000..9f15a32ec1 --- /dev/null +++ b/recipes/calc/calc_0.0.2.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "A simple calculator which is elementary-themed" +HOMEPAGE = "http://github.com/spaetz/calc" +AUTHOR = "Sebastian Spaeth " +LICENSE = "MIT" +RDEPENDS = "python-elementary python python-edbus" +SECTION = "x11/application" +PR = "r1" + + +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" -- cgit v1.2.3