termux-packages/packages/lighttpd/build.sh
2018-11-30 01:42:52 +01:00

14 lines
634 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.lighttpd.net
TERMUX_PKG_DESCRIPTION="Fast webserver with minimal memory footprint"
TERMUX_PKG_VERSION=1.4.52
TERMUX_PKG_SHA256=27bc0991c530b7c6335e6efff2181934d3c1a1c516f7401ea71d8302cefda764
TERMUX_PKG_SRCURL=http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-bzip2 --with-openssl --with-pcre --with-zlib"
TERMUX_PKG_DEPENDS="libbz2, openssl, pcre, libcrypt, libandroid-glob"
TERMUX_PKG_RM_AFTER_INSTALL="bin/lighttpd-angel"
termux_step_pre_configure () {
# liblog for syslog:
LDFLAGS="$LDFLAGS -llog -landroid-glob"
}