2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
|
2023-10-24 16:00:57 +00:00
|
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="coreutils"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="9.4"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPLv2+"
|
|
|
|
PKG_SITE="https://www.gnu.org/software/coreutils/"
|
2022-03-16 22:03:28 +00:00
|
|
|
PKG_URL="https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_VERSION}.tar.xz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="The GNU Core Utilities are the basic file, shell and text manipulation utilities of the GNU operating system."
|
|
|
|
PKG_TOOLCHAIN="auto"
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2022-03-16 22:03:28 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp ${PKG_BUILD}/.${TARGET_NAME}/src/stdbuf ${INSTALL}/usr/bin/
|
|
|
|
cp ${PKG_BUILD}/.${TARGET_NAME}/src/timeout ${INSTALL}/usr/bin/
|
|
|
|
cp ${PKG_BUILD}/.${TARGET_NAME}/src/sort ${INSTALL}/usr/bin/
|
|
|
|
mkdir -p ${INSTALL}/usr/lib/coreutils
|
|
|
|
cp ${PKG_BUILD}/.${TARGET_NAME}/src/libstdbuf.so ${INSTALL}/usr/lib/coreutils/
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|