commit 76180d8d7d3f5998ce1e488599c05e242e85bc63
parent 4670ce1ca737221ed82132d440b1c7ee3a1ec944
Author: ccx <ccx@te2000.cz>
Date: Tue, 2 Jul 2024 14:26:54 +0000
Make musl-cross-make packages refer to submodule commit
Diffstat:
4 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/templates/pkg/libseccomp b/templates/pkg/libseccomp
@@ -0,0 +1,27 @@
+{% extends "genlinks" %}
+{%- block script %}
+#+{{pkg_install_name("musl-cross-make")}}
+#+{{pkg_install_name("gnu-make")}}
+#+{{pkg_install_name("busybox")}}
+#+{{pkg_install_name("busybox-diffutils")}}
+#+{{pkg_install_name("pkgconf-pkg-config")}}
+#@untar:-z:sha256:248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375:.
+
+{% include "functions/check_static" %}
+{% include "functions/build_env_static" %}
+{% include "functions/vars" %}
+def_prefix
+LDFLAGS=--static
+build_env_static
+
+cd libseccomp-2.5.5
+autotools_static libseccomp-2.5.5
+
+check_static command/scmp_sys_resolver
+
+{% endblock %}
+{% block genlinks_begin %}
+ x["./command/scmp_sys_resolver"]=1
+ x["./library/libseccomp.a"]=1
+{% endblock %}
+
diff --git a/templates/pkg/musl-cross-make b/templates/pkg/musl-cross-make
@@ -3,7 +3,7 @@
#+{{pkg_install_name("musl-cross-make:bootstrap-1")}}
#+{{pkg_install_name("gnu-make:bootstrap")}}
#+{{pkg_install_name("busybox:bootstrap")}}
-#@git:fe915821b652a7fa37b34a596f47d8e20bc72338:musl-cross-make
+#@git:{{submodule.current["musl-cross-make"]}}:musl-cross-make
#@sha256:ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf:musl-cross-make/sources/binutils-2.33.1.tar.xz
#@sha256:75d5d255a2a273b6e651f82eecfabf6cbcd8eaeae70e86b417384c8f4a58d8d3:musl-cross-make/sources/config.sub
#@sha256:d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b:musl-cross-make/sources/gcc-11.2.0.tar.xz
diff --git a/templates/pkg/musl-cross-make:bootstrap-0 b/templates/pkg/musl-cross-make:bootstrap-0
@@ -2,7 +2,7 @@
{%- block script %}
#@pragma:nosandbox
#@pragma:nopath
-#@git:fe915821b652a7fa37b34a596f47d8e20bc72338:musl-cross-make
+#@git:{{submodule.current["musl-cross-make"]}}:musl-cross-make
#@sha256:ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf:musl-cross-make/sources/binutils-2.33.1.tar.xz
#@sha256:75d5d255a2a273b6e651f82eecfabf6cbcd8eaeae70e86b417384c8f4a58d8d3:musl-cross-make/sources/config.sub
#@sha256:c95da32f440378d7751dd95533186f7fc05ceb4fb65eb5b85234e6299eb9838e:musl-cross-make/sources/gcc-9.4.0.tar.xz
diff --git a/templates/pkg/musl-cross-make:bootstrap-1 b/templates/pkg/musl-cross-make:bootstrap-1
@@ -3,7 +3,7 @@
#@pragma:nosandbox
#@pragma:nopath
#+{{pkg_install_name("musl-cross-make:bootstrap-0")}}
-#@git:fe915821b652a7fa37b34a596f47d8e20bc72338:musl-cross-make
+#@git:{{submodule.current["musl-cross-make"]}}:musl-cross-make
#@sha256:ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf:musl-cross-make/sources/binutils-2.33.1.tar.xz
#@sha256:75d5d255a2a273b6e651f82eecfabf6cbcd8eaeae70e86b417384c8f4a58d8d3:musl-cross-make/sources/config.sub
#@sha256:d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b:musl-cross-make/sources/gcc-11.2.0.tar.xz