void-packages/srcpkgs/lighttpd/template

49 lines
1.3 KiB
Bash
Raw Normal View History

2014-03-07 13:04:14 +01:00
# Template file for 'lighttpd'
pkgname=lighttpd
2015-07-26 20:35:51 +02:00
version=1.4.36
2015-08-06 10:59:49 +02:00
revision=2
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
2014-10-13 17:51:00 +02:00
hostmakedepends="automake pkg-config pcre-devel libtool"
2014-03-07 13:04:14 +01:00
conf_files="/etc/lighttpd/lighttpd.conf"
system_accounts="lighttpd"
lighttpd_homedir="/var/tmp/lighttpd"
make_dirs="
/srv/www 0755 root root
/var/log/lighttpd 0750 lighttpd lighttpd"
2014-03-12 17:14:46 +01:00
short_desc="A secure, fast, compliant and very flexible web-server"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-03-07 13:04:14 +01:00
license="Simplified BSD"
homepage="http://lighttpd.net"
2015-07-26 20:35:51 +02:00
distfiles="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
checksum=897ab6b1cc7bd51671f8af759e7846245fbbca0685c30017e93a5882a9ac1a53
2014-03-07 13:04:14 +01:00
build_style=gnu-configure
configure_args="
2015-06-03 00:53:49 +02:00
--sbindir=/usr/bin \
2014-03-07 13:04:14 +01:00
--with-gnu-ld \
--libdir=/usr/lib/lighttpd/modules/ \
2014-03-07 13:04:14 +01:00
--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"
2014-03-12 18:04:16 +01:00
lib32disabled=yes
2014-03-07 13:04:14 +01:00
pre_configure() {
autoreconf -fi
2014-03-07 13:04:14 +01:00
}
post_install() {
2014-10-13 17:51:00 +02:00
vsv lighttpd
2014-03-07 13:04:14 +01:00
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
}