summaryrefslogtreecommitdiff
path: root/kstars/kstars-embedded_0.8.5.oe
blob: 144e452b39efb5789638f1631849bd7f24d5fe77 (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
DESCRIPTION = "KDE Stars: The Universe, in your hands! QtE based Palmtop Environments Edition"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS = "libqpe1"
DEPENDS = "virtual/libc"

SRC_URI = "http://kstars.sourceforge.net/kstars-${PV}.tar.gz"
S = "${WORKDIR}/kstars"

inherit palmtop

#FIXME add an icon

do_install() {
    install -d ${D}/opt/QtPalmtop/{bin,lib,apps/Applications,pics/kstars}
    install -m 0755 ${STAGING_LIBDIR}/../bin/kstars ${D}/opt/QtPalmtop/bin/kstars
    rm -f ${STAGING_LIBDIR}/../bin/kstars

    echo "[Desktop Entry]" >${D}/opt/QtPalmtop/apps/Applications/kstars.desktop
    echo "Comment=The Universe, in your Hands!" >>${D}/opt/QtPalmtop/apps/Applications/kstars.desktop
    echo "Exec=kstars" >>${D}/opt/QtPalmtop/apps/Applications/kstars.desktop
    echo "Icon=kstars" >>${D}/opt/QtPalmtop/apps/Applications/kstars.desktop
    echo "Type=Application" >>${D}/opt/QtPalmtop/apps/Applications/kstars.desktop
    echo "Name=KStars" >>${D}/opt/QtPalmtop/apps/Applications/kstars.desktop
}