bat: fix build error where zlib.h was not found

This commit is contained in:
Leonid Pliushch 2019-04-15 00:59:45 +03:00
parent 761b38b79c
commit 41caed9b51
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ TERMUX_PKG_SRCURL=https://github.com/sharkdp/bat/archive/v$TERMUX_PKG_VERSION.ta
TERMUX_PKG_DEPENDS="less, zlib"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
CFLAGS="$CFLAGS $CPPFLAGS"
}
termux_step_post_make_install() {
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/doc/bat.1 $TERMUX_PREFIX/share/man/man1/