pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

iconv (629B)


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