summaryrefslogtreecommitdiff
path: root/recipes/opie-icon-reload/opie-icon-reload.inc
blob: a83aa34f96a95d62a3e46f25edd0196a449d9562 (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
DESCRIPTION = "Reload .desktop files on the fly"
SECTION = "opie/settings"
PRIORITY = "optional"
LICENSE = "GPL"

PACKAGE_ARCH = "all"

SRC_URI = "file://icon-reload.desktop \
	   file://icon-reload.sh \
	   file://reload.png"

FILES_${PN} += "${palmtopdir}"

do_install() {		
	install -d ${D}${palmtopdir}/apps/Settings
	install -d ${D}${bindir}
	install -d ${D}${palmtopdir}/pics
	
	install -m 0644 ${WORKDIR}/icon-reload.desktop ${D}${palmtopdir}/apps/Settings
	install -m 0755 ${WORKDIR}/icon-reload.sh ${D}${bindir}
	sed -i -e 's,@bindir@,${bindir},g' ${D}${bindir}/icon-reload.sh
	install -m 0644 ${WORKDIR}/reload.png ${D}${palmtopdir}/pics	
}