Browse Source

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

emacs-27
Leonid Plyushch 6 years ago
parent
commit
ce253c2d84
  1. 4
      packages/bat/build.sh

4
packages/bat/build.sh

@ -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_DEPENDS="less, zlib"
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
CFLAGS="$CFLAGS $CPPFLAGS"
}
termux_step_post_make_install() { termux_step_post_make_install() {
mkdir -p $TERMUX_PREFIX/share/man/man1 mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/doc/bat.1 $TERMUX_PREFIX/share/man/man1/ cp $TERMUX_PKG_SRCDIR/doc/bat.1 $TERMUX_PREFIX/share/man/man1/

Loading…
Cancel
Save