From dd7bfba8d5bc93a99adb6107444644abf538e079 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 16 Jul 2024 15:04:46 +0300 Subject: [PATCH] ports: Compile with multiple jobs and fix curl install query --- ports/curl/build.sh | 4 ++-- ports/doom/build.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/curl/build.sh b/ports/curl/build.sh index fe901164..db9c81a2 100755 --- a/ports/curl/build.sh +++ b/ports/curl/build.sh @@ -31,7 +31,7 @@ if [ ! -d $CURL_VERSION ]; then patch -ruN -d $CURL_VERSION < "$patch" done - grep -qxF doom ../installed || echo curl >> ../installed + grep -qxF curl ../installed || echo curl >> ../installed fi cd $CURL_VERSION @@ -55,4 +55,4 @@ fi cd "build-${BANAN_ARCH}" -make && make install +make -j $(nproc) && make install diff --git a/ports/doom/build.sh b/ports/doom/build.sh index 5cb35953..9530c65f 100755 --- a/ports/doom/build.sh +++ b/ports/doom/build.sh @@ -28,6 +28,6 @@ if [ ! -f doom1.wad ]; then wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad fi -make --directory doomgeneric/doomgeneric --file Makefile.banan_os +make --directory doomgeneric/doomgeneric --file Makefile.banan_os -j $(nproc) cp "doomgeneric/doomgeneric/build-${BANAN_ARCH}/doomgeneric" "${BANAN_SYSROOT}/bin/doom" cp doom1.wad $BANAN_SYSROOT/home/user/