2020-04-26 11:25:16 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/mitnk/cicada
|
|
|
|
TERMUX_PKG_DESCRIPTION="A bash like Unix shell"
|
|
|
|
TERMUX_PKG_MAINTAINER="Hugo Wang <w@mitnk.com>"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2022-01-23 07:15:11 +01:00
|
|
|
TERMUX_PKG_VERSION=0.9.23
|
2022-01-23 10:27:16 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-04-26 11:25:16 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/mitnk/cicada/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2022-01-23 07:15:11 +01:00
|
|
|
TERMUX_PKG_SHA256=fafc780b78153bbbb7160a2ec1354dde313fa380df86593bb806b69602bce145
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-04-26 11:25:16 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-01-10 12:38:11 +01:00
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
|
2020-04-26 11:25:16 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2022-01-23 10:27:16 +01:00
|
|
|
rm -f Makefile
|
|
|
|
|
|
|
|
if [ "$TERMUX_ARCH" == "x86_64" ]; then
|
|
|
|
local libdir=target/x86_64-linux-android/release/deps
|
|
|
|
mkdir -p $libdir
|
|
|
|
pushd $libdir
|
|
|
|
local libgcc="$($CC -print-libgcc-file-name)"
|
|
|
|
echo "INPUT($libgcc -l:libunwind.a)" > libgcc.so
|
|
|
|
popd
|
|
|
|
fi
|
2020-04-26 11:25:16 +02:00
|
|
|
}
|