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