diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 46ea3d0..2b1f2c3 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -40,7 +40,6 @@ parts: autotools-configure-parameters: - --prefix=/usr build-packages: - - autoconf - autoconf-archive - automake - pkg-config @@ -48,6 +47,21 @@ parts: - txt2man - autopoint - libssl-dev + - wget + override-build: | + # Later versions of Axel depend on autoconf 2.72, which at + # the time of writing isn't available in any Ubuntu release. + wget -qO autoconf.tar.xz https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz + tar xf autoconf.tar.xz + pushd autoconf-2.72 + ./configure --prefix /opt/autotools + make + make install + popd + + /opt/autotools/bin/autoreconf -i -f + + craftctl default stage-packages: - libssl3