contrib/lighttpd/Pkgfile

34 lines
937 B
Plaintext
Raw Normal View History

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 bzip2 linux-pam openssl zlib zstd
2009-01-14 22:04:18 +01:00
name=lighttpd
2021-02-05 02:19:41 +01:00
version=1.4.59
release=3
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
)
2009-01-14 22:04:18 +01:00
build() {
cd ${name}-${version}
2021-02-05 02:19:41 +01:00
./configure --prefix=/usr \
--libdir=/usr/lib/${name} \
--with-openssl --with-pam \
2021-02-05 02:19:41 +01:00
--with-bzip2 --with-zlib --with-zstd \
--with-pcre --with-lua
make
make DESTDIR="${PKG}" install
2009-01-14 22:04:18 +01:00
install -d -m 0755 "${PKG}"/var/lib/${name} "${PKG}"/var/log/${name} \
"${PKG}"/var/www/${name}/htdocs
install -D -m 0755 "${SRC}"/${name}.rc "${PKG}"/etc/rc.d/${name}
install -D -m 0644 "${SRC}"/${name}.conf "${PKG}"/etc/
rm -f "${PKG}"/usr/lib/${name}/*.la
2009-01-14 22:04:18 +01:00
}
2021-02-05 02:19:41 +01:00
# s-sh-mode