seb view packages/lighttpd @ rev 17

Update lighttpd package
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 07 00:14:30 2017 +0100 (2017-03-07)
parents d22172a67015
children 58aea7b2f307
line source
1 # SliTaz Embedded package
3 desc="LightTPD Web server"
4 deps=""
6 seb_install() {
7 install_files "/usr/sbin/lighttpd" "/usr/lib/libpcre.so*"
8 mkdir -p ${rootfs}/etc/lighttpd
10 # Configs
11 cp -f /etc/lighttpd/lighttpd.conf ${rootfs}/etc/lighttpd
12 cp -f /etc/lighttpd/vhosts.conf ${rootfs}/etc/lighttpd
14 # Daemon start function
15 cat > ${rootfs}/etc/daemons/lighttpd << EOT
16 #!/bin/sh
17 desc="LightTPD web server"
18 start() {
19 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
20 }
21 EOT
22 }