summaryrefslogtreecommitdiff
path: root/recipes/openbmap/openbmap-logger_0.2.0.bb
blob: ee61fb7c78af1387c272d9e401c4c3cee8960923 (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
38
39
40
41
42
DESCRIPTION = "openBmap logger and uploader of GPS/GSM data"
SECTION = "x11/utils"
DEPENDS = "python python-dbus python-pygobject python-pygtk libglade"
RDEPENDS_${PN} = "python-subprocess python-netclient python-math python-core python-io"
PR = "r1"

inherit python-dir

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

FILES_${PN} += "${datadir}/openBmap/* ${PYTHON_SITEPACKAGES_DIR}/openbmap/*"

do_configure () {
    :
}

do_compile () {
    :
}

do_install () {
    install -d ${D}${bindir}
    install -m 0755 openBmapGTK ${D}${bindir}/
    install -d ${D}${PYTHON_SITEPACKAGES_DIR}/openbmap/
    install -m 0644 openbmap/__init__.py ${D}${PYTHON_SITEPACKAGES_DIR}/openbmap/
    install -m 0644 openbmap/logger.py ${D}${PYTHON_SITEPACKAGES_DIR}/openbmap/
    install -m 0644 openbmap/Upload.py ${D}${PYTHON_SITEPACKAGES_DIR}/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
}


SRC_URI[md5sum] = "5c9c1639bdff3bd35c63697d398f1a68"
SRC_URI[sha256sum] = "3d6c58830e50373d0dc2a72f6fc65afd7ef30aabf2d1078e6878c911270dec16"