lighttpd: disable 32bit pkg; install plugins to its own specific dir.

This commit is contained in:
Juan RP 2014-03-07 14:07:34 +01:00
parent a44c69a68d
commit 638eab9f19

View file

@ -1,9 +1,9 @@
# Template file for 'lighttpd' # Template file for 'lighttpd'
pkgname=lighttpd pkgname=lighttpd
version=1.4.34 version=1.4.34
revision=1 revision=2
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel openssl-devel fcgi-devel" makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel openssl-devel fcgi-devel"
hostmakedepends="pkg-config pcre-devel libtool which" hostmakedepends="automake pkg-config pcre-devel libtool which"
conf_files="/etc/lighttpd/lighttpd.conf" conf_files="/etc/lighttpd/lighttpd.conf"
system_accounts="lighttpd" system_accounts="lighttpd"
lighttpd_homedir="/var/tmp/lighttpd" lighttpd_homedir="/var/tmp/lighttpd"
@ -20,7 +20,7 @@ checksum=e4b5682ef21b0bdea4a18dc7ccac6b5a0bf526b691ad0fe5c25c8b9fc38d0c12
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
--with-gnu-ld \ --with-gnu-ld \
--libexecdir=/usr/lib/lighttpd/modules \ --libdir=/usr/lib/lighttpd/modules/ \
--sysconfdir=/etc/lighttpd \ --sysconfdir=/etc/lighttpd \
--with-mysql=${XBPS_CROSS_BASE}/usr/bin/mysql_config \ --with-mysql=${XBPS_CROSS_BASE}/usr/bin/mysql_config \
--with-ldap \ --with-ldap \
@ -37,10 +37,12 @@ configure_args="
--with-gdbm \ --with-gdbm \
--with-memcache \ --with-memcache \
--with-lua" --with-lua"
lib32_disabled=yes
disable_parallel_build=yes disable_parallel_build=yes
pre_configure() { pre_configure() {
libtoolize -f autoreconf -fi
} }
post_install() { post_install() {
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd