termux-packages/packages/libssh/build.sh

11 lines
596 B
Bash
Raw Normal View History

2016-08-26 23:46:22 +02:00
TERMUX_PKG_HOMEPAGE=https://www.libssh.org/
TERMUX_PKG_DESCRIPTION="Tiny C SSH library"
TERMUX_PKG_VERSION=0.7.3
TERMUX_PKG_SRCURL=https://red.libssh.org/attachments/download/195/libssh-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=26ef46be555da21112c01e4b9f5e3abba9194485c8822ab55ba3d6496222af98
TERMUX_PKG_DEPENDS="openssl"
2017-01-15 13:48:05 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DZLIB_INCLUDE_DIR=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DZLIB_LIBRARY=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libz.so"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DTHREADS_PTHREAD_ARG=OFF"
2016-08-26 23:46:22 +02:00