diff --git a/aedi/target/__init__.py b/aedi/target/__init__.py index 3158f4b8..15277544 100644 --- a/aedi/target/__init__.py +++ b/aedi/target/__init__.py @@ -123,6 +123,7 @@ def targets(): YasmTarget(), # Tools without binaries stored in the repo, can be outdated + AutoconfTarget(), DzipTarget(), GlslangTarget(), M4Target(), diff --git a/aedi/target/tool_tier2.py b/aedi/target/tool_tier2.py index c7066109..a423b764 100644 --- a/aedi/target/tool_tier2.py +++ b/aedi/target/tool_tier2.py @@ -23,6 +23,18 @@ from ..state import BuildState from . import base +class AutoconfTarget(base.ConfigureMakeDependencyTarget): + # TODO: fix absolute paths in bin/* and share/autoconf/autom4te.cfg + def __init__(self, name='autoconf'): + super().__init__(name) + self.multi_platform = False + + def prepare_source(self, state: BuildState): + state.download_source( + 'https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz', + 'ba885c1319578d6c94d46e9b0dceb4014caafe2490e437a0dbca3f270a223f5a') + + class DzipTarget(base.CMakeStaticDependencyTarget): def __init__(self, name='dzip'): super().__init__(name) diff --git a/deps/.gitignore b/deps/.gitignore index a28829b8..6686c5b6 100644 --- a/deps/.gitignore +++ b/deps/.gitignore @@ -49,6 +49,9 @@ /vulkan-loader/loader/ # Tools +!/autoconf/share/ +/autoconf/share/info/ +/autoconf/share/man/ /cmake/bin/* !/cmake/bin/cmake /cmake/doc/