mrrl

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

libelf-compat (778B)


      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 #@git:{{submodule.current.s6}}:s6
      7 #@sha256:627d1273036dc35239ba9dd1da45132e3bfce1ab8171dd27dc7952cdf09b698e:s6_clone3_newpid.patch
      8 #@untar:-j:{{downloads["libelf-compat-0.152c001.tar.bz2"]}}:.
      9 
     10 : ${JOBS:=1}
     11 cd libelf-compat-0.152c001
     12 
     13 sed -i 's@HEADERS = src/libelf.h@HEADERS = src/libelf.h src/gelf.h@' Makefile
     14 prefix={{versions}}/$pthbs_package
     15 {{make}} prefix="$prefix" bindir="$prefix/command" includedir="$prefix/include" libdir="$prefix/library" DESTDIR="$pthbs_destdir" install
     16 {% endblock %}
     17 {% block genlinks_begin %}
     18 	x["./library/libelf.a"]=1
     19 	x["./include/libelf.h"]=1
     20 	x["./include/gelf.h"]=1
     21 {% endblock %}