You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
641 B

10 years ago
TERMUX_PKG_HOMEPAGE=https://github.com/joyent/libuv
TERMUX_PKG_DESCRIPTION="Support library with a focus on asynchronous I/O"
TERMUX_PKG_VERSION=1.6.1
TERMUX_PKG_SRCURL=http://dist.libuv.org/dist/v${TERMUX_PKG_VERSION}/libuv-v${TERMUX_PKG_VERSION}.tar.gz
10 years ago
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-dtrace" # needed for building on mac
termux_step_pre_configure () {
export LINK=$CXX
export PLATFORM=android
cd $TERMUX_PKG_SRCDIR
sh autogen.sh
}
termux_step_post_make_install () {
# The installed include/uv-unix includes pthread-fixes.h inside ifdef __ANDROID__
cp $TERMUX_PKG_SRCDIR/include/pthread-fixes.h $TERMUX_PREFIX/include
}