Apply kstars bugfix patch from Alexander Enis.
[openembedded.git] / kstars / kstars-embedded_0.8.5.oe
1 DESCRIPTION = "KDE Stars: The Universe, in your hands! QtE based Palmtop Environments Edition"
2 SECTION = "base"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 RDEPENDS = "libqpe1"
6 DEPENDS = "virtual/libc"
7
8 SRC_URI = "http://kstars.sourceforge.net/kstars-embedded-${PV}.tar.gz"
9 S = "${WORKDIR}/kstars"
10
11 inherit palmtop
12
13 do_install() {
14     install -d ${D}/opt/QtPalmtop/{bin,apps/Applications,pics/kstars,share/apps/kstars}
15     install -m 0755 ${STAGING_LIBDIR}/../bin/kstars ${D}/opt/QtPalmtop/bin/kstars
16     rm -f ${STAGING_LIBDIR}/../bin/kstars
17     install -m 0644 ${WORKDIR}/apps/Applications/kstars.desktop ${D}/opt/QtPalmtop/apps/Applications
18     cp -a ${WORKDIR}/pics/kstars ${D}/opt/QtPalmtop/pics/
19     cp -a ${WORKDIR}/share/apps/kstars ${D}/opt/QtPalmtop/share/apps/
20 }