From a3cc83a0a364179dfb15fa9b1327ae8853e40dbe Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 11 Jan 2017 02:13:42 -0500 Subject: [PATCH] libgc: curl -> termux_download --- packages/libgc/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/libgc/build.sh b/packages/libgc/build.sh index 55e11855c..3118917f3 100644 --- a/packages/libgc/build.sh +++ b/packages/libgc/build.sh @@ -7,7 +7,9 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/gc" termux_step_post_extract_package () { LIBATOMIC_VERSION=7.4.4 LIBATOMIC_FILE=libatomic_ops-${LIBATOMIC_VERSION}.tar.gz - test ! -f $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE && curl -o $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-${LIBATOMIC_VERSION}.tar.gz + test ! -f $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE && termux_download \ + http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-${LIBATOMIC_VERSION}.tar.gz \ + $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE tar xf $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE mv libatomic_ops-${LIBATOMIC_VERSION} libatomic_ops ./autogen.sh