aedi: add m4 target, version 1.4.19

This commit is contained in:
alexey.lysiuk 2024-01-03 10:33:15 +02:00
parent 975b11a00c
commit 28afbc48ab
2 changed files with 11 additions and 0 deletions

View file

@ -125,6 +125,7 @@ def targets():
# Tools without binaries stored in the repo, can be outdated # Tools without binaries stored in the repo, can be outdated
DzipTarget(), DzipTarget(),
GlslangTarget(), GlslangTarget(),
M4Target(),
P7ZipTarget(), P7ZipTarget(),
PbzxTarget(), PbzxTarget(),
QPakManTarget(), QPakManTarget(),

View file

@ -70,6 +70,16 @@ class GlslangTarget(base.CMakeStaticDependencyTarget):
os.unlink(lib_cmake_path / entry) os.unlink(lib_cmake_path / entry)
class M4Target(base.ConfigureMakeDependencyTarget):
def __init__(self, name='m4'):
super().__init__(name)
def prepare_source(self, state: BuildState):
state.download_source(
'https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz',
'63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96')
class P7ZipTarget(base.CMakeTarget): class P7ZipTarget(base.CMakeTarget):
def __init__(self, name='p7zip'): def __init__(self, name='p7zip'):
super().__init__(name) super().__init__(name)