apk-tools (1097B)
1 {% extends "genlinks" %} 2 {%- block script %} 3 #+{{pkg_install_name("musl-cross-make")}} 4 #+{{pkg_install_name("gnu-make")}} 5 #+{{pkg_install_name("busybox")}} 6 #+{{pkg_install_name("busybox-diffutils")}} 7 #+{{pkg_install_name("patch")}} 8 #+{{pkg_install_name("libressl")}} 9 #+{{pkg_install_name("zstd")}} 10 #+{{pkg_install_name("pkgconf-pkg-config")}} 11 #@git:{{submodule.current[name]}}:{{name}} 12 #@sha256:{{files["apk-tools.patch"]}}:apk-tools.patch 13 14 {% include "functions/check_static" %} 15 {% include "functions/build_env_static" %} 16 {% include "functions/vars" %} 17 18 build_env_static 19 def_prefix 20 cd apk-tools 21 patch -p1 <../apk-tools.patch 22 {{make}} STATIC=y LUA=no V=1 \ 23 DESTDIR="$pthbs_destdir" \ 24 SBINDIR="$prefix/command" \ 25 CONFDIR="$prefix/etc/apk" \ 26 MANDIR="$prefix/man" \ 27 DOCDIR="$prefix/doc/apk" \ 28 INCLUDEDIR="$prefix/include" \ 29 LIBDIR="$prefix/library" \ 30 PKGCONFIGDIR="$prefix/library/pkgconfig" \ 31 install-static 32 33 check_static command/apk.static 34 {% endblock %} 35 {% block genlinks_begin %} 36 x["./command/apk.static"]=1 37 x["./library/libapk.a"]=1 38 x["./library/pkgconfig/apk.pc"]=1 39 {%- endblock %}