blob: c450aa18b1b3fe0e8664621b2e35a45b188d1754 [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += " \
file://lighttpd_php.conf.broadband \
file://lighttpd_jst.conf.broadband \
"
SYSTEMD_SERVICE_${PN} += "lighttpd.service"
do_install_append() {
install -d ${D}${sysconfdir}
if [ "${@bb.utils.contains("DISTRO_FEATURES", "webui_jst", "yes", "no", d)}" = "yes" ]; then
install -m 0644 ${WORKDIR}/lighttpd_jst.conf.broadband ${D}${sysconfdir}/lighttpd.conf
else
install -m 0644 ${WORKDIR}/lighttpd_php.conf.broadband ${D}${sysconfdir}/lighttpd.conf
fi
}
FILES_${PN}_append_morty = " /usr/lib/mod_fastcgi.so"
RDEPENDS_${PN}_append_dunfell = " \
lighttpd-module-fastcgi \
lighttpd-module-proxy \
"