Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=https://github.com/joyent/libuv |
2 | TERMUX_PKG_DESCRIPTION="Support library with a focus on asynchronous I/O" | |
0dba175b | 3 | TERMUX_PKG_VERSION=1.8.0 |
067db687 | 4 | TERMUX_PKG_SRCURL=http://dist.libuv.org/dist/v${TERMUX_PKG_VERSION}/libuv-v${TERMUX_PKG_VERSION}.tar.gz |
59f0d218 FF |
5 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-dtrace" # needed for building on mac |
6 | ||
7 | termux_step_pre_configure () { | |
8 | export LINK=$CXX | |
9 | export PLATFORM=android | |
10 | cd $TERMUX_PKG_SRCDIR | |
11 | sh autogen.sh | |
12 | } | |
13 | ||
14 | termux_step_post_make_install () { | |
15 | # The installed include/uv-unix includes pthread-fixes.h inside ifdef __ANDROID__ | |
16 | cp $TERMUX_PKG_SRCDIR/include/pthread-fixes.h $TERMUX_PREFIX/include | |
17 | } |