serenity/Ports/coreutils/package.sh

22 lines
777 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='coreutils'
version='9.4'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
'build-aux/config.sub'
)
files=(
"https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz#5f600d9093973b0afe25393d9bc18c44f2232657f4ca0d95ea31c702eb66b739"
)
# Exclude some non-working utilities:
# - arch, coreutils, and hostname are already excluded in the default configuration
# - chcon and runcon are SELinux utilities
# - df requires one of the read_file_system_list implementations in gnulib/lib/mountlist.c
# - pinky, users, and who require utmp
# - nice is just something that doesn't exist
configopts+=(
'--enable-no-install-program=arch,coreutils,hostname,chcon,runcon,df,pinky,users,who,nice'
)