pthbs

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

s6 (961B)


      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("patch")}}
      7 #+{{pkg_install_name("skalibs")}}
      8 #+{{pkg_install_name("execline")}}
      9 #@git:{{submodule.current.s6}}:s6
     10 
     11 : ${JOBS:=1}
     12 
     13 prefix={{versions}}/$pthbs_package
     14 cd s6
     15 ./configure \
     16 	--prefix="$prefix" \
     17 	--dynlibdir="${prefix}/library.so" \
     18 	--bindir="${prefix}/command" \
     19 	--libdir="${prefix}/library" \
     20 	--shebangdir="${prefix}/command" \
     21 	--with-sysdeps='{{pkg_install_dir("skalibs")}}/sysdeps' \
     22 	--with-include="$pthbs_build_environment/include" \
     23 	--with-lib="$pthbs_build_environment/library" \
     24 	--with-dynlib="$pthbs_build_environment/library.so" \
     25 	--disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths
     26 
     27 {{make}} CFLAGS=-DWANT_CLONE_NEWPID
     28 make DESTDIR="$pthbs_destdir" install
     29 {% endblock %}
     30 {% block genlinks_begin %}
     31 {% endblock %}
     32