blob: 86a451fb2576edb71703906e8e967648ae7b8951 (
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
|
SUMMARY = "RMTFS QMI service"
HOMEPAGE = "https://github.com/andersson/mrtfs.git"
SECTION = "devel"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ca25dbf5ebfc1a058bfc657c895aac2f"
inherit systemd
SRCREV = "8c79959935ca67a0cc198e0cb690baae4c46737c"
SRC_URI = "git://github.com/andersson/${BPN}.git;branch=master;protocol=https"
SRC_URI += "file://rmtfs.service"
DEPENDS = "qmic-native qrtr"
PV = "0.0+${SRCPV}"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "'LDFLAGS=${TARGET_LDFLAGS} -L${STAGING_LIBDIR} -lqrtr'"
do_install () {
oe_runmake install DESTDIR=${D} prefix=${prefix}
sed -i -e s:/usr/bin:${bindir}:g ${WORKDIR}/rmtfs.service
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/rmtfs.service ${D}${systemd_unitdir}/system
}
SYSTEMD_SERVICE_${PN} = "rmtfs.service"
RDEPENDS_${PN} += "qrtr"
|