blob: 418744695824b406a630705a021316aa686fc928 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
PR .= ".mlinux1"
# build with openssl support
DEPENDS += " openssl "
RDEPENDS_${PN} += " openssl logrotate "
EXTRA_OECONF += "--with-openssl"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"
SRC_URI += "file://lighttpd.logrotate.conf \
file://lighttpd.default"
do_install_append() {
install -d ${D}${sysconfdir}/logrotate.d
install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/lighttpd.logrotate.conf ${D}${sysconfdir}/logrotate.d/lighttpd.conf
install -m 0644 ${WORKDIR}/lighttpd.default ${D}${sysconfdir}/default/lighttpd
}
CONFFILES_${PN} += "${sysconfdir}/default/lighttpd ${sysconfdir}/logrotate.d/lighttpd.conf ${sysconfdir}/init.d/lighttpd"
|