2012-04-27 15:44:27 +00:00
|
|
|
DESCRIPTION = "Task for sysmocom external tools"
|
|
|
|
LICENSE = "MIT"
|
2014-11-02 08:40:15 +00:00
|
|
|
LIC_FILES_CHKSUM = " \
|
2012-04-27 15:44:27 +00:00
|
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
|
2014-11-04 16:16:26 +00:00
|
|
|
SRC_URI = "file://udhcpd.conf \
|
|
|
|
file://udhcpd.service \
|
|
|
|
"
|
2014-12-12 16:40:05 +00:00
|
|
|
PR = "r0"
|
2012-04-27 15:44:27 +00:00
|
|
|
|
|
|
|
CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf"
|
2014-11-04 16:16:26 +00:00
|
|
|
FILES_${PN} += "${systemd_unitdir}"
|
2012-04-27 15:44:27 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -d ${D}${sysconfdir}
|
|
|
|
install -m 0644 ${WORKDIR}/udhcpd.conf ${D}${sysconfdir}/
|
2014-11-04 16:16:26 +00:00
|
|
|
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
|
|
|
install -m 0644 /${WORKDIR}/udhcpd.service ${D}${systemd_unitdir}/system/
|
|
|
|
ln -sf ../udhcpd.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
2012-04-27 15:44:27 +00:00
|
|
|
}
|