summaryrefslogtreecommitdiff
path: root/opie-calculator
diff options
context:
space:
mode:
Diffstat (limited to 'opie-calculator')
-rw-r--r--opie-calculator/opie-calculator_1.1.7.oe23
-rw-r--r--opie-calculator/opie-calculator_cvs.oe6
2 files changed, 26 insertions, 3 deletions
diff --git a/opie-calculator/opie-calculator_1.1.7.oe b/opie-calculator/opie-calculator_1.1.7.oe
index e69de29bb2..ca1e3adf5f 100644
--- a/opie-calculator/opie-calculator_1.1.7.oe
+++ b/opie-calculator/opie-calculator_1.1.7.oe
@@ -0,0 +1,23 @@
+DESCRIPTION = "Calculator"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+
+APPNAME = "calculator"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/tools/calculator \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+# FILES plugins/application/libcalculator.so* bin/calculator apps/Applications/calculator.desktop etc/unit_conversion.dat pics/calc
+do_install() {
+ install -d ${D}${palmtopdir}/pics/calc/
+ install -m 0644 ${WORKDIR}/pics/calc/*.png ${D}${palmtopdir}/pics/calc/
+}
+
diff --git a/opie-calculator/opie-calculator_cvs.oe b/opie-calculator/opie-calculator_cvs.oe
index 4526e841ca..03f89774b0 100644
--- a/opie-calculator/opie-calculator_cvs.oe
+++ b/opie-calculator/opie-calculator_cvs.oe
@@ -6,9 +6,9 @@ LICENSE = "GPL"
PV = "1.1.7+cvs-${CVSDATE}"
APPNAME = "calculator"
-SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/tools/calculator \
- cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics \
- cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps"
+SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/tools/calculator \
+ ${HANDHELDS_CVS};module=opie/pics \
+ ${HANDHELDS_CVS};module=opie/apps"
S = "${WORKDIR}/${APPNAME}"