blob: 7b9425e8f867af35e0385104129bb15d6c6fa739 [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 = " \
lighttpd-module-fastcgi \
lighttpd-module-proxy \
"