termux-packages/packages/spiped/build.sh

21 lines
758 B
Bash
Raw Normal View History

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-05-13 10:56:16 +02:00
TERMUX_PKG_VERSION=1.6.1
2019-11-18 20:38:04 +01:00
TERMUX_PKG_SRCURL=https://github.com/Tarsnap/spiped/archive/$TERMUX_PKG_VERSION.tar.gz
2020-05-13 10:56:16 +02:00
TERMUX_PKG_SHA256=d14a0c802f97bfe4da6c1a6c1ec882b7ffb94d28aee1eea11e6ad532fc21254c
2019-11-18 20:38:04 +01:00
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make () {
CFLAGS+=" $CPPFLAGS"
env LDADD_EXTRA="$LDFLAGS" \
make -j "$TERMUX_MAKE_PROCESSES" BINDIR="$TERMUX_PREFIX/bin" \
MAN1DIR="$TERMUX_PREFIX/share/man/man1"
}
termux_step_make_install() {
make install BINDIR="$TERMUX_PREFIX/bin" \
MAN1DIR="$TERMUX_PREFIX/share/man/man1"
}