feat: add managed sources

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-09-30 06:32:54 +00:00
parent c62b2fc8f6
commit 67a7ccf9ab
59 changed files with 215 additions and 114 deletions
+1 -2
View File
@@ -8,7 +8,7 @@ VERSION = "5.48"
version(VERSION)
description("utility to infer file type and information")
maintainer("sisungo <[email protected]>")
source_git("https://github.com/file/file.git", "FILE5_48")
source_managed("github://file/file#FILE5_48", "autotools")
builddep("shortcut/c")
builddep("shortcut/autotools")
@@ -19,7 +19,6 @@ builddep(f"libbzip2-dev @{arch.get_target()}")
def build():
subprocess.run(["autoreconf", "-fiv"], check=True)
cpp.configure([
"--prefix=/",
f"--libdir={get_prefix('libmagic')}/lib",