blob: 78450ef6186ed3a24be9f5b427be634eba0ed7fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
DESCRIPTION = "A Unit Conversion Tool"
SECTION = "opie/applications"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
APPTYPE = "binary"
APPNAME = "zuc"
APPDESKTOP = "${S}"
PR = "r2"
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
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}/nick.kreucher.net/zuc_units ${D}/${palmtopdir}/etc/
}
|