summaryrefslogtreecommitdiff
path: root/recipes-extended/lighttpd/lighttpd_%.bbappend
blob: 473a1137448c9d3278708e3bdf28efaebb9c67ba (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"