blob: 691a3d88acf2997a44156bd06630bb64d797fc76 (
plain)
1 # Description: Secure, fast, compliant, flexible and light web server
2 # Maintainer: Aaron Ball, nullspoon at oper dot io
3 # URL: http://www.lighttpd.net/
4 # Depends on: lua
5 name=lighttpd
6 version=1.4.76
7 release=1
8 source=(https://download.lighttpd.net/${name}/releases-${version%.*}.x/${name}-${version}.tar.gz)
9
10 build() {
11 cd "${name}-${version}"
12 ./autogen.sh
13 ./configure --prefix=/usr \
14 --libdir=/usr/lib/lighttpd \
15 --sysconfdir=/etc/lighttpd \
16 --sbindir=/usr/bin \
17 --with-zlib \
18 --with-zstd \
19 --with-bzip2 \
20 --with-lua \
21 --with-attr \
22 --with-pam \
23 --with-openssl
24 make
25 make DESTDIR="${PKG}" install
26
27 install -D -m644 doc/config/lighttpd.conf \
28 "${PKG}/etc/lighttpd/lighttpd.conf"
29 install -D -m644 doc/config/modules.conf \
30 "${PKG}/etc/lighttpd/conf.d/modules.conf"
31 install -D -m644 doc/config/vhosts.d/vhosts.template \
32 "${PKG}/etc/lighttpd/vhosts.d/vhosts.template"
33
34 mkdir -p "${PKG}/var/www/${name}"
35 }
|