# Description: Secure, fast, compliant, flexible and light web server # Maintainer: Aaron Ball, nullspoon at oper dot io # URL: http://www.lighttpd.net/ # Depends on: lua name=lighttpd version=1.4.73 release=1 source=(https://download.lighttpd.net/${name}/releases-${version%.*}.x/${name}-${version}.tar.xz) build() { cd "${name}-${version}" ./configure --prefix=/usr \ --libdir=/usr/lib/lighttpd \ --sysconfdir=/etc/lighttpd \ --sbindir=/usr/bin \ --with-zlib \ --with-zstd \ --with-bzip2 \ --with-lua \ --with-attr \ --with-pam \ --with-openssl make make DESTDIR="${PKG}" install install -D -m644 doc/config/lighttpd.conf \ "${PKG}/etc/lighttpd/lighttpd.conf" install -D -m644 doc/config/modules.conf \ "${PKG}/etc/lighttpd/conf.d/modules.conf" install -D -m644 doc/config/vhosts.d/vhosts.template \ "${PKG}/etc/lighttpd/vhosts.d/vhosts.template" mkdir -p "${PKG}/var/www/${name}" }