diff options
Diffstat (limited to 'recipes/zuc/zuc_1.1.2ern.bb')
-rw-r--r-- | recipes/zuc/zuc_1.1.2ern.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/zuc/zuc_1.1.2ern.bb b/recipes/zuc/zuc_1.1.2ern.bb new file mode 100644 index 0000000000..32c8f9848d --- /dev/null +++ b/recipes/zuc/zuc_1.1.2ern.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "A Unit Conversion Tool" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPTYPE = "binary" +APPNAME = "zuc" +APPDESKTOP = "${S}" +PR = "r3" + +SRC_URI = "http://www.linux-solutions.at/projects/zaurus/source/zuc_V${PV}.tar.gz \ + http://nick.kreucher.net/zuc/zuc_units" +S = "${WORKDIR}/zuc_V${PV}" + +inherit opie + +export OE_QMAKE_LINK="${CXX}" + +do_configure_append() { + echo "#define VERSION \""${PV}"\"" > version.h + echo "#define BUILDTIME \""`date +%Y%m%d%H%M`"\"" >> version.h +} + +do_install() { + install -d ${D}${palmtopdir}/pics/ + install -m 0644 *.png ${D}${palmtopdir}/pics/ + install -d ${D}${palmtopdir}/etc/ + install -m 0644 ${WORKDIR}/zuc_units ${D}${palmtopdir}/etc/ +} |