forked from Bananymous/banan-os
ports: Compile with multiple jobs and fix curl install query
This commit is contained in:
parent
5b8fdbc82d
commit
dd7bfba8d5
|
@ -31,7 +31,7 @@ if [ ! -d $CURL_VERSION ]; then
|
||||||
patch -ruN -d $CURL_VERSION < "$patch"
|
patch -ruN -d $CURL_VERSION < "$patch"
|
||||||
done
|
done
|
||||||
|
|
||||||
grep -qxF doom ../installed || echo curl >> ../installed
|
grep -qxF curl ../installed || echo curl >> ../installed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $CURL_VERSION
|
cd $CURL_VERSION
|
||||||
|
@ -55,4 +55,4 @@ fi
|
||||||
|
|
||||||
cd "build-${BANAN_ARCH}"
|
cd "build-${BANAN_ARCH}"
|
||||||
|
|
||||||
make && make install
|
make -j $(nproc) && make install
|
||||||
|
|
|
@ -28,6 +28,6 @@ if [ ! -f doom1.wad ]; then
|
||||||
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad
|
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad
|
||||||
fi
|
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 "doomgeneric/doomgeneric/build-${BANAN_ARCH}/doomgeneric" "${BANAN_SYSROOT}/bin/doom"
|
||||||
cp doom1.wad $BANAN_SYSROOT/home/user/
|
cp doom1.wad $BANAN_SYSROOT/home/user/
|
||||||
|
|
Loading…
Reference in New Issue