2024-08-05 15:14:09 +03:00
|
|
|
#!/bin/bash ../install.sh
|
2024-04-03 19:14:35 +03:00
|
|
|
|
2024-08-05 15:14:09 +03:00
|
|
|
NAME='doom'
|
|
|
|
VERSION='git'
|
|
|
|
DOWNLOAD_URL="https://github.com/ozkl/doomgeneric.git#613f870b6fa83ede448a247de5a2571092fa729d"
|
2024-04-03 19:14:35 +03:00
|
|
|
|
2024-08-09 17:08:07 +03:00
|
|
|
configure() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
2024-08-05 15:14:09 +03:00
|
|
|
build() {
|
2024-11-15 20:50:40 +02:00
|
|
|
if [ ! -f ../doom1.wad ]; then
|
|
|
|
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad -O ../doom1.wad || exit 1
|
2024-08-05 15:14:09 +03:00
|
|
|
fi
|
|
|
|
make --directory doomgeneric --file Makefile.banan_os -j$(nproc) || exit 1
|
|
|
|
}
|
2024-04-03 19:14:35 +03:00
|
|
|
|
2024-08-05 15:14:09 +03:00
|
|
|
install() {
|
|
|
|
cp doomgeneric/build/doom "${BANAN_SYSROOT}/bin/" || exit 1
|
2024-11-15 20:50:40 +02:00
|
|
|
cp ../doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1
|
2024-08-05 15:14:09 +03:00
|
|
|
}
|