ports: DOOM install now downloads and installs doom1.wad
This commit is contained in:
parent
66905fcc08
commit
cd41d5f6dd
|
@ -10,8 +10,7 @@ if [ -z $BANAN_SYSROOT ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CURRENT_DIR=$(dirname $(realpath $0))
|
cd $(dirname $(realpath $0))
|
||||||
pushd $CURRENT_DIR >/dev/null
|
|
||||||
|
|
||||||
if [ ! -d "doomgeneric" ]; then
|
if [ ! -d "doomgeneric" ]; then
|
||||||
git clone https://github.com/ozkl/doomgeneric.git
|
git clone https://github.com/ozkl/doomgeneric.git
|
||||||
|
@ -25,7 +24,10 @@ if [ ! -d "doomgeneric" ]; then
|
||||||
grep -qxF doom ../installed || echo doom >> ../installed
|
grep -qxF doom ../installed || echo doom >> ../installed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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
|
||||||
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/
|
||||||
popd >/dev/null
|
|
||||||
|
|
Loading…
Reference in New Issue