+ Rename lua and lua-devel to lua52 and lua52-devel + Modify packages depending on lua52 accordingly: + Many packages auto-detect lua52 files + Some packages need hints where / how to find lua52 + One package (xmoto) downgraded to lua51, because it wouldn't find lua52 + One package (vim) upgraded to lua (5.3.1) There may be more packages upgradable without problems. I didn't want to change too much in this move without the respective package maintainers first taking a look. Most notably conky-cli wouldn't work with lua52. I upgraded it to 1.10.0 (same as conky) and tried to keep the flags the same for the change from gnu-configure to cmake.
56 lines
1.6 KiB
Bash
56 lines
1.6 KiB
Bash
# Template file for 'lighttpd'
|
|
pkgname=lighttpd
|
|
version=1.4.37
|
|
revision=2
|
|
makedepends="libmysqlclient-devel lua52-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
|
|
hostmakedepends="automake pkg-config pcre-devel libtool"
|
|
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"
|
|
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=804e6f60567ca1da2b3927f92b7e9332b93aca9560f282ca135b86b7558979bd
|
|
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
|
|
|
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
do_configure() {
|
|
export LUA_CFLAGS="-L${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
|
export LUA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -llua5.2"
|
|
./configure ${configure_args}
|
|
}
|
|
post_install() {
|
|
vlicense COPYING
|
|
vsv lighttpd
|
|
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
|
|
}
|