diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb')
-rw-r--r-- | meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb new file mode 100644 index 000000000..71cc88561 --- /dev/null +++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | DESCRIPTION = "Lightweight secure web server" | ||
2 | HOMEPAGE = "http://www.hiawatha-webserver.org" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | ||
5 | DEPENDS = "libxml2 libxslt" | ||
6 | |||
7 | SECTION = "net" | ||
8 | |||
9 | SRC_URI = "http://hiawatha-webserver.org/files/${PN}-${PV}.tar.gz \ | ||
10 | file://hiawatha-init" | ||
11 | |||
12 | SRC_URI[md5sum] = "71d3903657953c93fc930758d158097d" | ||
13 | SRC_URI[sha256sum] = "2567e6b4b4c6666388087b586238e6e91a4afd80e10a879920020a097fcdc946" | ||
14 | |||
15 | inherit cmake update-rc.d | ||
16 | |||
17 | INITSCRIPT_NAME = "hiawatha" | ||
18 | INITSCRIPT_PARAMS = "defaults 70" | ||
19 | |||
20 | EXTRA_OECMAKE = " -DENABLE_IPV6=OFF \ | ||
21 | -DENABLE_CACHE=ON \ | ||
22 | -DENABLE_DEBUG=OFF \ | ||
23 | -DENABLE_SSL=OFF \ | ||
24 | -DENABLE_TOOLKIT=OFF \ | ||
25 | -DENABLE_CHROOT=OFF \ | ||
26 | -DENABLE_XSLT=ON \ | ||
27 | -DENABLE_TOMAHAWK=OFF \ | ||
28 | -DCMAKE_INSTALL_MANDIR=${mandir} \ | ||
29 | -DCMAKE_INSTALL_BINDIR=${bindir} \ | ||
30 | -DCMAKE_INSTALL_SBINDIR=${sbindir} \ | ||
31 | -DCMAKE_INSTALL_SYSCONFDIR=${sysconfdir} \ | ||
32 | -DCMAKE_INSTALL_LIBDIR=${libdir} \ | ||
33 | -DLOG_DIR=/var/log/hiawatha \ | ||
34 | -DPID_DIR=/var/run \ | ||
35 | -DWEBROOT_DIR=/var/www/hiawatha \ | ||
36 | -DWORK_DIR=/var/lib/hiawatha " | ||
37 | |||
38 | do_install_append() { | ||
39 | |||
40 | # Copy over init script and sed in the correct sbin path | ||
41 | sed -i 's,sed_sbin_path,${sbindir},' ${WORKDIR}/hiawatha-init | ||
42 | mkdir -p ${D}${sysconfdir}/init.d | ||
43 | install -m 0755 ${WORKDIR}/hiawatha-init ${D}${sysconfdir}/init.d/hiawatha | ||
44 | |||
45 | } | ||