46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Template file for 'lighttpd'
|
|
pkgname=lighttpd
|
|
version=1.4.42
|
|
revision=1
|
|
makedepends="libuuid-devel libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
|
|
hostmakedepends="automake pkg-config libtool"
|
|
conf_files="/etc/lighttpd/lighttpd.conf"
|
|
system_accounts="_${pkgname}"
|
|
_lighttpd_homedir="/srv/www/${pkgname}"
|
|
short_desc="A secure, fast, compliant and very flexible web-server"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="2-clause-BSD"
|
|
homepage="http://lighttpd.net"
|
|
distfiles="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
|
|
checksum=b2c9069ed0bade9362c27b469a9b884641786aea1c3d686f9fd9f01d15e2a15f
|
|
build_style=gnu-configure
|
|
configure_args="
|
|
--sbindir=/usr/bin \
|
|
--with-gnu-ld \
|
|
--libdir=/usr/lib/lighttpd/modules/ \
|
|
--sysconfdir=/etc/lighttpd \
|
|
--with-mysql=${XBPS_CROSS_BASE}/usr/bin/mysql_config \
|
|
--with-ldap \
|
|
--with-attr \
|
|
--with-zlib \
|
|
--with-bzip2 \
|
|
--with-openssl \
|
|
--with-pcre \
|
|
--with-kerberos5 \
|
|
--without-fam \
|
|
--with-memcache \
|
|
--with-webdav-props \
|
|
--with-webdav-locks \
|
|
--with-gdbm \
|
|
--with-memcache \
|
|
--with-lua"
|
|
lib32disabled=yes
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vlicense COPYING
|
|
vsv lighttpd
|
|
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
|
|
}
|