void-packages/srcpkgs/lighttpd/template
2018-08-16 19:16:22 -03:00

32 lines
1.3 KiB
Bash

# Template file for 'lighttpd'
pkgname=lighttpd
version=1.4.50
revision=1
build_style=meson
configure_args="-Dwith_bzip=true -Dwith_fam=false -Dwith_gdbm=true
-Dwith_geoip=false -Dwith_krb5=true -Dwith_ldap=true -Dwith_libev=true
-Dwith_libunwind=false -Dwith_lua=true -Dwith_memcached=true
-Dwith_mysql=false -Dwith_openssl=true -Dwith_pcre=true -Dwith_pgsql=false
-Dwith_sasl=false -Dwith_xattr=true -Dwith_zlib=true -Dwith_webdav_props=true
-Dwith_webdav_locks=true -Dsbindir=/usr/bin -Dmoduledir=lib/lighttpd/modules"
hostmakedepends="pkg-config"
makedepends="libuuid-devel lua-devel libxml2-devel libev-devel sqlite-devel gdbm-devel
pcre-devel libressl-devel fcgi-devel libldap-devel attr-devel libmemcached-devel
mit-krb5-devel"
short_desc="A secure, fast, compliant and very flexible web-server"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://lighttpd.net"
distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
checksum=29378312d8887cbc14ffe8a7fadef2d5a08c7e7e1be942795142346ad95629eb
conf_files="/etc/lighttpd/lighttpd.conf"
system_accounts="_${pkgname}"
_lighttpd_homedir="/srv/www/${pkgname}"
lib32disabled=yes
post_install() {
vlicense COPYING
vsv lighttpd
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
}