summaryrefslogtreecommitdiff
path: root/recipes-core/annex-client/annex-client.bb
blob: 1a0544ad545312a43a9ffaa06ebe6d56359918d0 (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 = "Provides the Multi-Tech MDM client"
SECTION = "remote-management"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
PROVIDES = "annex-client"

# NOTE: annex-client binary is built with Jenkin's job using annex-client-from-src.bb
# To update this, manually copy ipk from Jenkin's job to .net/downloads/
PR = "r0"
SRC_URI = "http://multitech.net/downloads/annex-client-from-src_${PV}-${PR}.0_${TUNE_PKGARCH}.ipk \
          file://annex-client.init \
"

SRC_URI[md5sum] = "b17462ba3883df6a06b226b37a523eba"
SRC_URI[sha256sum] = "be903e7e27ad34832cb8045ef805f4e226aa6e254a3c995c5e61a0a9197a95b0"

#inherit update-rc.d
#
#INITSCRIPT_NAME = "annex-client"
#INITSCRIPT_PARAMS = "defaults 95 1"
S = "${WORKDIR}"

do_install() {
    install -d ${D}${sbindir}
    install -m 755 sbin/annexcd ${D}${sbindir}

    install -d ${D}${sysconfdir}/init.d
    install -m 755 ${WORKDIR}/annex-client.init ${D}${sysconfdir}/init.d/annex-client
}