termux-packages/packages/termux-auth/build.sh

15 lines
671 B
Bash
Raw Normal View History

2018-11-22 12:37:38 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-auth
2018-10-21 14:20:43 +02:00
TERMUX_PKG_DESCRIPTION="Password authentication library and utility for Termux"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-10-30 23:12:35 +01:00
TERMUX_PKG_VERSION=1.4
2020-10-30 23:25:03 +01:00
TERMUX_PKG_SRCURL=https://github.com/termux/termux-auth/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=56087e948abec2feb125fdba1d1eba079e8b501472bf201a6c5030c81b7798ed
2018-10-21 14:20:43 +02:00
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BREAKS="termux-auth-dev"
TERMUX_PKG_REPLACES="termux-auth-dev"
2020-10-30 23:12:35 +01:00
termux_step_pre_configure() {
CPPFLAGS+=" -DTERMUX_HOME=\\\"${TERMUX_ANDROID_HOME}\\\" -DTERMUX_PREFIX=\\\"${TERMUX_PREFIX}\\\""
}