#!/bin/sh
name="libmd"
short_desc="BSD Message Digest Library"
desc="Message Digest functions from BSD"
category="devel"
version="1.1.0"
maintainer="ffqq@danwin1210.de"
www="https://libbsd.freedesktop.org/wiki/"
master_site="https://libbsd.freedesktop.org/releases"
source_name="$name-$version.tar.xz"
license_logic="single" # accepted values: single, and, or
licenses=("BSD-3-CLAUSE")

build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")

build_process() {
    cd $name-$version
    ./configure --prefix=/usr
    make -j$(nproc)
    make DESTDIR="$TAMANDUA_STAGE_DIR" install
}