add liblua-dev to luarocks build dependencies (#1394)
[termux-packages] / packages / autoconf / build.sh
index b551b4b..c968f89 100644 (file)
@@ -1,11 +1,12 @@
 TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/autoconf/autoconf.html
 TERMUX_PKG_DESCRIPTION="Creator of shell scripts to configure source code packages"
 TERMUX_PKG_VERSION=2.69
-TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz
+TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz
+TERMUX_PKG_SHA256=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
 TERMUX_PKG_DEPENDS="m4, make, perl"
+TERMUX_PKG_PLATFORM_INDEPENDENT=yes
 
 termux_step_post_extract_package () {
-       cd $TERMUX_PKG_SRCDIR
        perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" lib/*/*.m4
 }