summaryrefslogtreecommitdiff
path: root/recipes/openbmap/openbmap-logger_0.2.0.bb
blob: 72e66441dae3b9092327ee1eb0b2b869685556e5 (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
30
31
32
33
34
35
36
37
DESCRIPTION = "openBmap logger and uploader of GPS/GSM data"
SECTION = "x11/utils"
DEPENDS = "python python-dbus python-pygobject python-pygtk libglade"
RDEPENDS = "python-subprocess python-netclient python-math python-core python-io"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/myposition/openbmap-logger-${PV}.tar.gz"

FILES_${PN} += "${datadir}/openBmap/* ${libdir}/python2.6/site-packages/openbmap/*"

do_configure () {
    :
}

do_compile () {
    :
}

do_install () {
    install -d ${D}${bindir}
    install -m 0755 openBmapGTK ${D}${bindir}/
    install -d ${D}${libdir}/python2.6/site-packages/openbmap/
    install -m 0644 openbmap/__init__.py ${D}${libdir}/python2.6/site-packages/openbmap/
    install -m 0644 openbmap/logger.py ${D}${libdir}/python2.6/site-packages/openbmap/
    install -m 0644 openbmap/Upload.py ${D}${libdir}/python2.6/site-packages/openbmap/
    install -d ${D}${datadir}/pixmaps
    install -d ${D}${datadir}/applications
    install -d ${D}${datadir}/openBmap
    install -m 0644 openBmap.desktop ${D}${datadir}/applications/openBmap.desktop
    install -m 0644 openBmap-desktop.png ${D}${datadir}/pixmaps/openBmap-desktop.png
    install -m 0644 ExitButton.png ${D}${datadir}/openBmap/ExitButton.png
    install -m 0644 GenerateButton.png ${D}${datadir}/openBmap/GenerateButton.png
    install -m 0644 StopButton.png ${D}${datadir}/openBmap/StopButton.png
    install -m 0644 UploadButton.png ${D}${datadir}/openBmap/UploadButton.png
    install -m 0644 Main.glade ${D}${datadir}/openBmap/Main.glade
}