1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-19 20:16:13 +02:00
build/pkg/coreutils/build
David Oberhollenzer fabf36697b Bump coreutils version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-07-07 16:27:57 +02:00

25 lines
496 B
Plaintext
Executable file

VERSION="8.31"
SRCDIR="coreutils-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://ftp.gnu.org/gnu/coreutils/"
SHA256SUM="ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd"
DEPENDS="toolchain"
prepare() {
return
}
build() {
run_configure "$1" --enable-single-binary=symlinks
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "coreutils" "tar.xz"
}