summaryrefslogtreecommitdiff
path: root/packages/lighttpd
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-10-05 12:04:34 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-10-05 12:04:34 +0000
commit94e1ce507e69378472f22faedd6606eb91510e6a (patch)
treee82a8dfca80233e87270c605995b53357e15e4ba /packages/lighttpd
parent30f3e9df42211e6d292adbe95394e23f737799a1 (diff)
lighttpd: split plugin modules into separate packages.
Diffstat (limited to 'packages/lighttpd')
-rw-r--r--packages/lighttpd/lighttpd_1.4.18.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/lighttpd/lighttpd_1.4.18.bb b/packages/lighttpd/lighttpd_1.4.18.bb
index 14a6bd0f25..a83efcaf40 100644
--- a/packages/lighttpd/lighttpd_1.4.18.bb
+++ b/packages/lighttpd/lighttpd_1.4.18.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Web server"
SECTION = "net"
LICENSE = "BSD"
DEPENDS = "libpcre"
+PR = "r1"
SRC_URI = "http://www.lighttpd.net/download/lighttpd-${PV}.tar.gz \
file://configure.in.patch;patch=1 \
@@ -37,4 +38,11 @@ do_stage() {
autotools_stage_all
}
-FILES_${PN} += "${libdir}/mod_*.so ${sysconfdir} /www"
+FILES_${PN} += "${sysconfdir} /www"
+
+PACKAGES_DYNAMIC = "lighttpd-module-*"
+
+python populate_packages_prepend () {
+ lighttpd_libdir = bb.data.expand('${libdir}', d)
+ do_split_packages(d, lighttpd_libdir, '^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')
+}