From b2f9c852b4a9db28c6e78e774069c1fdcda9d466 Mon Sep 17 00:00:00 2001 From: Matt Jenkins Date: Sun, 21 Sep 2025 13:11:47 +0100 Subject: [PATCH] Added util/coreutils --- util/coreutils/PKGCONF | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 util/coreutils/PKGCONF diff --git a/util/coreutils/PKGCONF b/util/coreutils/PKGCONF new file mode 100644 index 0000000..8e820c2 --- /dev/null +++ b/util/coreutils/PKGCONF @@ -0,0 +1,24 @@ +VERSION=9.7 +PACKAGE=coreutils +SRC=${PACKAGE}-${VERSION}.tar.gz +URL=${SITE_GNU}/${PACKAGE}/${SRC} +CATEGORY=util +#DEPENDS=libs/libiconv + +configure() { + echo "Configuring $PACKAGE" + cd "${SRCDIR}/${PACKAGE}-${VERSION}" + ./configure --disable-year2038 +} + +build() { + echo "Building $PACKAGE" + cd "${SRCDIR}/${PACKAGE}-${VERSION}" + make -j ${NCPU} +} + +install() { + echo "Installing $PACKAGE to ${DESTDIR}" + cd "${SRCDIR}/${PACKAGE}-${VERSION}" + make install DESTDIR="${DESTDIR}" +}