1 DESCRIPTION = "Web server"
6 lighttpd-module-access \
7 lighttpd-module-accesslog \
8 lighttpd-module-indexfile \
9 lighttpd-module-dirlisting \
10 lighttpd-module-staticfile \
15 SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.gz \
17 file://lighttpd.conf \
27 --without-webdav-props \
28 --without-webdav-locks \
33 inherit autotools pkgconfig update-rc.d gettext
35 INITSCRIPT_NAME = "lighttpd"
36 INITSCRIPT_PARAMS = "defaults 70"
39 install -d ${D}${sysconfdir}/init.d ${D}/www/logs ${D}/www/pages/dav ${D}/www/var
40 install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d
41 install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
42 install -m 0644 ${WORKDIR}/index.html ${D}/www/pages/
49 FILES_${PN} += "${sysconfdir} /www"
51 PACKAGES_DYNAMIC = "lighttpd-module-*"
53 python populate_packages_prepend () {
54 lighttpd_libdir = bb.data.expand('${libdir}', d)
55 do_split_packages(d, lighttpd_libdir, '^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')