2009-01-14 22:04:18 +01:00
|
|
|
# Description: Secure, fast, compliant and very flexible web server
|
2021-02-05 02:19:41 +01:00
|
|
|
# URL: https://www.lighttpd.net/
|
|
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
# Depends on: libpcre lua
|
2009-01-14 22:04:18 +01:00
|
|
|
|
|
|
|
name=lighttpd
|
2021-02-05 02:19:41 +01:00
|
|
|
version=1.4.59
|
2009-01-14 22:04:18 +01:00
|
|
|
release=1
|
2021-02-05 02:19:41 +01:00
|
|
|
source=(
|
|
|
|
https://download.${name}.net/${name}/releases-1.4.x/${name}-${version}.tar.xz
|
|
|
|
${name}.rc ${name}.conf
|
|
|
|
cgi.conf dirlisting.conf fastcgi.conf userdir.conf
|
|
|
|
)
|
2009-01-14 22:04:18 +01:00
|
|
|
|
|
|
|
build() {
|
2021-02-05 02:19:41 +01:00
|
|
|
cd ${name}-${version}
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib/${name} \
|
|
|
|
--with-openssl --with-pam \
|
|
|
|
--with-bzip2 --with-zlib --with-zstd \
|
|
|
|
--with-pcre --with-lua
|
2009-01-14 22:04:18 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2021-02-05 02:19:41 +01:00
|
|
|
install -D -m 0755 "${SRC}"/${name}.rc "${PKG}"/etc/rc.d/${name}
|
|
|
|
install -d -m 0755 "${PKG}"/etc/${name}
|
|
|
|
install -D -m 0644 "${SRC}"/*.conf "${PKG}"/etc/${name}/
|
|
|
|
install -d -m 0755 "${PKG}"/var/log/${name}
|
|
|
|
install -d -m 0755 "${PKG}"/var/www/${name}/htdocs
|
2009-01-14 22:04:18 +01:00
|
|
|
}
|
2021-02-05 02:19:41 +01:00
|
|
|
|
|
|
|
# s-sh-mode
|