summaryrefslogtreecommitdiff
path: root/recipes-extended/lighttpd/lighttpd_1.4.39.bbappend
blob: 8171f17f462572d1f7e7adf9c71dc6f0a6a318e7 (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"