#!/bin/sh name="libelf" short_desc="ELF Library from elfutils" desc="libelf (from elfutils) provides the elf32, elf64, and gelf functions to read, modify, and create ELF files" category="sysutils" version="0.190" maintainer="ffqq@danwin1210.de" www="https://sourceware.org/elfutils/" master_site="ftp://sourceware.org/pub/elfutils/$version" source_name="elfutils-$version.tar.bz2" license_logic="and" # accepted values: single, and, or licenses=("GPLv2+" "LGPL3+") build_dependencies=("lang/gcc" "devel/gmake") run_dependencies=("system/glibc") build_process() { cd elfutils-$version ./configure --prefix=/usr \ --disable-debuginfod \ --enable-libdebuginfod=dummy make -j$(nproc) make DESTDIR="$TAMANDUA_STAGE_DIR" -C libelf install mkdir -p $TAMANDUA_STAGE_DIR/usr/lib/pkgconfig install -vm644 config/libelf.pc $TAMANDUA_STAGE_DIR/usr/lib/pkgconfig/libelf.pc rm $TAMANDUA_STAGE_DIR/usr/lib/libelf.a }