summaryrefslogtreecommitdiff
path: root/pocketcellar/pocketcellar_1.1.oe
blob: d5bc76dd23e77e5e24c7d14638d770181687b01b (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 = "Benchmark for Opie/Qtopia"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/libc"

SRC_URI = "http://www.staikos.net/~staikos/pocketcellar/pocketcellar-${PV}.tar.gz \
           file://gcc3.patch;patch=1"

inherit palmtop

EXTRA_QMAKEVARS_POST = " DESTDIR=pkg-cellar/home/QtPalmtop/bin/"

do_install() {
        install -d ${D}/${palmtopdir}/bin \
        	   ${D}/${palmtopdir}/apps/Applications \
        	   ${D}/${palmtopdir}/pics
	cp -a pkg-pcellar/home/QtPalmtop/* ${D}/${palmtopdir}/
# BAD.  packages -never- install files into home directories.  ever. --CL
#	cp -a pkg-pcellar/home/root/Settings/* ${D}/home/root/Settings/
        install -D -m 755 pkg-cellar/home/QtPalmtop/bin/pocketcellar ${D}/${palmtopdir}/bin/pocketcellar
        install -D -m 644 pocketcellar.desktop ${D}/${palmtopdir}/Applications/pocketcellar.desktop
        cp pocketcellar.png ${D}/${palmtopdir}/pics/
}

FILES_${PN} = "/"