termux-packages/packages/tinyproxy/build.sh

19 lines
834 B
Bash
Raw Normal View History

2018-08-22 02:18:08 +02:00
TERMUX_PKG_HOMEPAGE=https://tinyproxy.github.io/
2018-08-26 02:48:44 +02:00
TERMUX_PKG_DESCRIPTION="Light-weight HTTP proxy daemon for POSIX operating systems"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.11.0
2018-08-22 02:18:08 +02:00
TERMUX_PKG_SRCURL=https://github.com/tinyproxy/tinyproxy/releases/download/${TERMUX_PKG_VERSION}/tinyproxy-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=c1ec81cfc4c551d2c24e0227a5aeeaad8723bd9a39b61cd729e516b82eaa3f32
2018-08-22 02:18:08 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-regexcheck"
termux_step_post_massage() {
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var/log/$TERMUX_PKG_NAME
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var/run/$TERMUX_PKG_NAME
find $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var -exec chmod -f u+w,g-rwx,o-rwx \{\} \;
}
termux_step_pre_configure() {
CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX"
}