blob: ceb009db9d26095a774e3d2c949f548c07c526a5 (
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
|
FILESEXTRAPATHS_prepend := "${THISDIR}/libusbg:"
PV = "0.1.0-git"
SRCREV = "93631e618436989ebd7e9df2c997c175feb14bda"
SRC_URI = "git://github.com/kopasiak/libusbg.git \
file://usbg.service \
file://g1.schema \
"
DEPENDS = "libconfig"
inherit autotools pkgconfig systemd
do_install_append () {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/usbg.service ${D}${systemd_unitdir}/system
install -d ${D}${sysconfdir}/usbg/
install -m 0644 ${WORKDIR}/g1.schema ${D}${sysconfdir}/usbg/g1.schema
}
NATIVE_SYSTEMD_SUPPORT = "1"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "usbg.service"
|