seb view packages/lighttpd @ rev 26

Add kernel config example and a precompiled bzImage
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 13 16:42:29 2017 +0100 (2017-03-13)
parents 58aea7b2f307
children
line source
1 # SliTaz Embedded package
3 desc="LightTPD Web server"
4 deps="pcre"
6 seb_install() {
7 install_files "/usr/sbin/lighttpd"
9 # Configs
10 mkdir -p ${rootfs}/etc/lighttpd
11 cp -f ${tools}/lighttpd.conf ${rootfs}/etc/lighttpd
13 # Default modules
14 install_files \
15 "/usr/lib/lighttpd/mod_access*" \
16 "/usr/lib/lighttpd/mod_alias.so" \
17 "/usr/lib/lighttpd/mod_cgi.so" \
18 "/usr/lib/lighttpd/mod_dirlisting.so" \
19 "/usr/lib/lighttpd/mod_indexfile.so" \
20 "/usr/lib/lighttpd/mod_userdir.so"
22 # Daemon start function
23 cat > ${rootfs}/etc/daemons/lighttpd << EOT
24 #!/bin/sh
25 desc="LightTPD web server"
26 start() {
27 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
28 }
29 EOT
30 }