From 94e1ce507e69378472f22faedd6606eb91510e6a Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Fri, 5 Oct 2007 12:04:34 +0000 Subject: lighttpd: split plugin modules into separate packages. --- packages/lighttpd/lighttpd_1.4.18.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packages') 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='') +} -- cgit v1.2.3