summaryrefslogtreecommitdiff
path: root/packages/pocketcellar/pocketcellar_1.1.bb
blob: d8bf66873d4f397351b0ffa58f2abac36e65eee8 (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
DESCRIPTION = "Program for wine enthusiasts"
SECTION = "opie/applications"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
PR = "r2"

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 \
			   ${D}${palmtopdir}/data/PocketCellar
			   
		install -m 644 pkg-pcellar/home/QtPalmtop/data/PocketCellar/* ${D}${palmtopdir}/data/PocketCellar/
# BAD.  packages -never- install files into home directories.  ever. --CL
#	cp -a pkg-pcellar/home/root/Settings/* ${D}/home/root/Settings/
        install -m 755 pkg-cellar/home/QtPalmtop/bin/pocketcellar ${D}${palmtopdir}/bin/
        install -m 644 pocketcellar.desktop ${D}${palmtopdir}/apps/Applications/
        install -m 644 pocketcellar.png ${D}${palmtopdir}/pics/
}

FILES_${PN} = "/"