blob: 8f6eab40e1ddbd6a180e18cc58313c169817559c (
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
28
29
30
31
32
33
34
35
|
DESCRIPTION = "Shopping list manager"
SECTION = "opie/applications"
PRIORITY = "optional"
LICENSE = "GPL"
SRC_URI = "${SOURCEFORGE_MIRROR}/zaurus-shopper/Shopper-${PV}.tar.gz \
file://gcc3.patch;patch=1"
S = "${WORKDIR}/Shopper"
inherit palmtop
QMAKE_PROFILES = "Shopper.pro"
pkg_preinst() {
cp /root/Applications/ShoppingListQt/shoppinglist.xml /root/Applications/ShoppingListQt/shoppinglist.xml.safe 2>/dev/null
true
}
pkg_postinst() {
/opt/QtPalmtop/bin/qcop QPE/System "linkChanged(QString)" 2>/dev/null
if [ -n "$D" ]; then false; fi
}
do_install() {
install -d ${D}${palmtopdir}/bin \
${D}${palmtopdir}/apps/Applications \
${D}${palmtopdir}/pics \
${D}${palmtopdir}/help/html
install -m 0755 ${S}/Shopper ${D}${palmtopdir}/bin/
install -m 0644 ${S}/Shopper.desktop ${D}${palmtopdir}/apps/Applications/
install -m 0644 ${S}/Shopper.png ${D}${palmtopdir}/pics/
install -m 0644 ${S}/Shopper.html ${D}${palmtopdir}/help/html/
# BAD BAD BAD: packages never install into home directories. ever. --CL
# install -m 0644 ${S}/shoppinglist.xml ${D}root/Applications/ShoppingListQt/shoppinglist.xml.new
}
|