Build sha256sum from coreutils 6.3.

This commit is contained in:
Andrius Štikonas 2021-02-28 20:53:20 +00:00
parent 4363c6422a
commit a27e7b99a7
7 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
cp lib/fnmatch_.h lib/fnmatch.h
cp lib/fcntl_.h lib/fcntl.h
sed -i 's#@ABSOLUTE_FCNTL_H@#"/after/include/musl/fcntl.h"#' lib/fcntl.h
touch config.h lib/configmake.h
}
src_compile() {
make -f Makefile
}
src_install() {
make -f Makefile install PREFIX="${PREFIX}"
}