spawn-pty (674B)
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("skalibs")}} 7 #@sha256:{{files["spawn-pty.c"]}}:spawn-pty.c 8 9 name=spawn-pty 10 {% include "functions/check_static" %} 11 {% include "functions/build_env_static" %} 12 {% include "functions/vars" %} 13 build_env_static 14 def_prefix 15 16 gcc -ggdb -D_GNU_SOURCE -static -o $name $name.c $LDFLAGS -lskarnet 17 18 install -d "$pthbs_destdir/$prefix/command" 19 install -m 755 $name "$pthbs_destdir/$prefix/command" 20 check_static command/$name 21 {% endblock %} 22 {% block genlinks_begin %} 23 x["./command/spawn-pty"]=1 24 {%- endblock %}