termux-packages/packages/libczmq/build.sh

18 lines
645 B
Bash
Raw Normal View History

2020-09-25 18:53:55 +02:00
TERMUX_PKG_HOMEPAGE=https://zeromq.org/
TERMUX_PKG_DESCRIPTION="High-level C binding for ZeroMQ"
TERMUX_PKG_LICENSE="MPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-06-23 00:03:56 +02:00
TERMUX_PKG_VERSION=4.2.1
2022-03-20 23:19:04 +01:00
TERMUX_PKG_REVISION=1
2020-09-25 18:53:55 +02:00
TERMUX_PKG_SRCURL=https://github.com/zeromq/czmq/releases/download/v${TERMUX_PKG_VERSION}/czmq-${TERMUX_PKG_VERSION}.tar.gz
2021-06-23 00:03:56 +02:00
TERMUX_PKG_SHA256=5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39
TERMUX_PKG_AUTO_UPDATE=true
2020-09-25 18:53:55 +02:00
TERMUX_PKG_DEPENDS="libzmq, libsodium, liblz4, libuuid"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-drafts=no"
termux_step_pre_configure() {
CFLAGS+=" -DCZMQ_HAVE_ANDROID=1"
LDFLAGS+=" -llog"
autoconf
2021-06-23 00:03:56 +02:00
}