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
+2 -3
View File
@@ -7,15 +7,14 @@ from lib.make import *
version("2.8.3")
description("Fast streaming XML parser written in C99")
maintainer("sisungo <[email protected]>")
source_url(
"https://github.com/libexpat/libexpat/releases/download/R_2_8_3/expat-2.8.3.tar.gz"
)
source_managed("github://libexpat/libexpat#R_2_8_3")
builddep("shortcut/c")
builddep("shortcut/cmake")
def build():
os.chdir("expat")
cpp.cmake([
f"-DCMAKE_INSTALL_LIBDIR={get_prefix('libexpat')}/lib",
f"-DCMAKE_INSTALL_INCLUDEDIR={get_prefix('libexpat-dev')}/include",