libuv: Update from 1.12.0 to 1.13.0
[termux-packages] / packages / libuv / build.sh
index e40fc9a..1ff96f0 100644 (file)
@@ -1,17 +1,10 @@
-TERMUX_PKG_HOMEPAGE=https://github.com/joyent/libuv
+TERMUX_PKG_HOMEPAGE=http://libuv.org
 TERMUX_PKG_DESCRIPTION="Support library with a focus on asynchronous I/O"
-TERMUX_PKG_VERSION=1.6.1
+TERMUX_PKG_VERSION=1.13.0
 TERMUX_PKG_SRCURL=http://dist.libuv.org/dist/v${TERMUX_PKG_VERSION}/libuv-v${TERMUX_PKG_VERSION}.tar.gz
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-dtrace" # needed for building on mac
+TERMUX_PKG_SHA256=708e51f8845e1728a2df50d2aa8438dbd97a48d4a86fcbbcdead0c406d710315
 
 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
-}