ports/doom: download doom1.wad to common directory between archs
This commit is contained in:
parent
c96aee5740
commit
51bfe4252d
|
@ -9,13 +9,13 @@ configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if [ ! -f doom1.wad ]; then
|
if [ ! -f ../doom1.wad ]; then
|
||||||
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad || exit 1
|
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad -O ../doom1.wad || exit 1
|
||||||
fi
|
fi
|
||||||
make --directory doomgeneric --file Makefile.banan_os -j$(nproc) || exit 1
|
make --directory doomgeneric --file Makefile.banan_os -j$(nproc) || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
cp doomgeneric/build/doom "${BANAN_SYSROOT}/bin/" || exit 1
|
cp doomgeneric/build/doom "${BANAN_SYSROOT}/bin/" || exit 1
|
||||||
cp ./doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1
|
cp ../doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue