summaryrefslogtreecommitdiff
path: root/recipes-core/battd
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-09-30 18:36:09 -0500
committerJohn Klug <john.klug@multitech.com>2020-09-30 18:36:09 -0500
commit57d767988a527f9bee160df82326573682f90aa1 (patch)
treed2035d7c2bff22d1ca108972b75a58db4c7f1568 /recipes-core/battd
parent759dbb8356d1fa96b02f05fffa10ec0f26c19050 (diff)
downloadmeta-mlinux-57d767988a527f9bee160df82326573682f90aa1.tar.gz
meta-mlinux-57d767988a527f9bee160df82326573682f90aa1.tar.bz2
meta-mlinux-57d767988a527f9bee160df82326573682f90aa1.zip
Adding battd-ml recipe similar to Annex Client
Diffstat (limited to 'recipes-core/battd')
-rw-r--r--recipes-core/battd/battd-ml_1.0.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-core/battd/battd-ml_1.0.bb b/recipes-core/battd/battd-ml_1.0.bb
new file mode 100644
index 0000000..b02d0b8
--- /dev/null
+++ b/recipes-core/battd/battd-ml_1.0.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Provides the Multi-Tech battd server"
+SECTION = "base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+PROVIDES = "annex-client"
+# This is only for ARM
+COMPATIBLE_HOST = "(arm-mlinux-linux-gnueabi)"
+
+INSANE_SKIP_${PN} += "build-deps already-stripped ldflags"
+
+PR = "r1"
+TAR_PR = "r1"
+SRC_URI = "http://multitech.net/downloads/${PN}_${PV}-${TAR_PR}_${TUNE_PKGARCH}.tar.xz \
+"
+
+SRC_URI[md5sum] = "a99f5fdb78ed5755f7df3e6a0553dd75"
+SRC_URI[sha256sum] = "8dfa10da16c9408d702983533d26c45be1788083e37f7bc0fb336ebcb79b8d95"
+
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -m 755 ${PN}_${PV}-${TAR_PR}_${TUNE_PKGARCH}/battd ${D}${sbindir}
+}
+