2019-11-18 20:38:04 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.tarsnap.com/spiped.html
|
|
|
|
TERMUX_PKG_DESCRIPTION="a utility for creating symmetrically encrypted and authenticated pipes between socket addresses"
|
|
|
|
TERMUX_PKG_LICENSE="BSD"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-14 22:22:45 +02:00
|
|
|
TERMUX_PKG_VERSION=1.6.2
|
2019-11-18 20:38:04 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/Tarsnap/spiped/archive/$TERMUX_PKG_VERSION.tar.gz
|
2022-04-14 22:22:45 +02:00
|
|
|
TERMUX_PKG_SHA256=7824f74e8dd123ca3075032281c11fbb9ba5a9ec8410e100012ca45210a170f6
|
2019-11-18 20:38:04 +01:00
|
|
|
TERMUX_PKG_DEPENDS="openssl"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2022-04-14 22:22:45 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
2019-11-18 20:38:04 +01:00
|
|
|
|
2022-04-14 22:22:45 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
if [[ "${TERMUX_ARCH}" == "arm" ]]; then
|
|
|
|
# armv8 specific features check also enables them for armv7. But why?
|
|
|
|
patch -p1 --silent <"${TERMUX_PKG_BUILDER_DIR}"/disable_armv8_specific_features.diff
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make() {
|
2019-11-18 20:38:04 +01:00
|
|
|
CFLAGS+=" $CPPFLAGS"
|
|
|
|
env LDADD_EXTRA="$LDFLAGS" \
|
|
|
|
make -j "$TERMUX_MAKE_PROCESSES" BINDIR="$TERMUX_PREFIX/bin" \
|
2022-04-14 22:22:45 +02:00
|
|
|
MAN1DIR="$TERMUX_PREFIX/share/man/man1"
|
2019-11-18 20:38:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
make install BINDIR="$TERMUX_PREFIX/bin" \
|
|
|
|
MAN1DIR="$TERMUX_PREFIX/share/man/man1"
|
|
|
|
}
|