3.8. zstd-1.5.2

#!/bin/sh
# Copyright © 1999-2022 Gerard Beekmans
# Copyright © 2020-2022 Random Crew
# Distributed under the terms of MIT License.

Configuration

src_config()
{
    return
}

Compilation

src_compile()
{
    make ${MAKEOPTS} prefix=${PREFIX}
}

Installation

src_install()
{
    make prefix=${PREFIX} install ${MAKEOPTS} DESTDIR=${D}
}

Unit testing

src_check()
{
    make check
}

Patches

zstd-1.5.2-upstream_fixes-1.patch

Build code

zstd.build

Other files

.gzip.build.swp
meta.txt

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.2/chapter08/zstd.html
url.lfs.stage1: