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