Added util/coreutils

This commit is contained in:
2025-09-21 13:11:47 +01:00
parent d66dd9a485
commit b2f9c852b4

24
util/coreutils/PKGCONF Normal file
View File

@@ -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}"
}