summaryrefslogtreecommitdiff
path: root/packages/matchbox-applet-cards/matchbox-applet-cards_1.0.2.bb
blob: 8fbf5e357849dabe06075fbde16320eca686b534 (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
DESCRIPTION = "Panel applet to eject cards (from PdaXrom project)"
LICENSE = "GPL"
DEPENDS = "matchbox-wm libmatchbox"
SECTION = "x11/wm"
PR = "r1"

SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src/mb-applet-cards-${PV}.tar.bz2 \
	file://oz-gpe.patch;patch=1 \
	file://gpe-applet-cards \
	file://cf_mount.png \
	file://cf_unmount.png \
	file://sd_mount.png \
	file://sd_unmount.png \
	file://cards.png"
S = "${WORKDIR}/mb-applet-cards-${PV}"

inherit autotools pkgconfig

FILES_${PN} = "${bindir} ${datadir}/applications ${datadir}/pixmaps"

do_install_append() {
	install -m 0755 ${WORKDIR}/gpe-applet-cards ${D}${bindir}/gpe-applet-cards
	install -m 0644 ${WORKDIR}/cf_mount.png ${D}${datadir}/pixmaps/cf_mount.png
	install -m 0644 ${WORKDIR}/cf_unmount.png ${D}${datadir}/pixmaps/cf_unmount.png
	install -m 0644 ${WORKDIR}/sd_mount.png ${D}${datadir}/pixmaps/sd_mount.png
	install -m 0644 ${WORKDIR}/sd_unmount.png ${D}${datadir}/pixmaps/sd_unmount.png
	install -m 0644 ${WORKDIR}/cards.png ${D}${datadir}/pixmaps/cards.png
}