mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

mandoc (1384B)


      1 {%- set pkg_version="1.14.6" -%}
      2 {%- set pkg_source="tar.gz" -%}
      3 {% extends "genlinks" %}
      4 {%- do import_functions.update(["check_static"]) %}
      5 {%- block package_deps -%}
      6 #+{{pkg_install_name("musl-cross-make")}}
      7 #+{{pkg_install_name("gnu-make")}}
      8 #+{{pkg_install_name("busybox-diffutils")}}
      9 {% endblock package_deps %}
     10 {% block configure -%}
     11 export LD_LIBRARY_PATH="$pthbs_build_environment/library"
     12 cat >configure.local<<-__EOF__
     13 PREFIX="$prefix"
     14 BINDIR="$prefix/command"
     15 SBINDIR="$prefix/command"
     16 BIN_FROM_SBIN=.
     17 MANDIR="$prefix/man"
     18 LIBDIR="$prefix/library"
     19 INCLUDEDIR="$prefix/include"
     20 CFLAGS="-I $pthbs_build_environment/include"
     21 LDFLAGS="-static -L$pthbs_build_environment/library"
     22 UTF8_LOCALE="en_US.UTF-8"
     23 MANPATH_DEFAULT=/run/current/man
     24 MANPATH_BASE=/run/current/man
     25 LN="ln -sf"
     26 __EOF__
     27 
     28 {% endblock configure %}
     29 {% block build -%}
     30 ./configure
     31 {{make}}
     32 
     33 {% endblock build %}
     34 {% block install -%}
     35 make -j1 DESTDIR="$pthbs_destdir" base-install lib-install
     36 
     37 {% endblock install %}
     38 {% block check -%}
     39 check_static command/man
     40 check_static command/apropos
     41 check_static command/whatis
     42 check_static command/makewhatis
     43 {% endblock check %}
     44 {% block genlinks_begin %}
     45 	x["./command/man"]=1
     46 	x["./command/apropos"]=1
     47 	x["./command/whatis"]=1
     48 	x["./command/makewhatis"]=1
     49 	x["./library/libmandoc.a"]=1
     50 	x["./man/man1/man.1"]=1
     51 	x["./man/man3/mandoc.3"]=1
     52 {% endblock genlinks_begin %}