mirror of
https://git.56k.es/fanta/compile.git
synced 2024-06-13 00:24:08 +02:00
eliminado soporte para ubuntu
This commit is contained in:
parent
4b64d564b2
commit
a959826f55
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Fanta <fanta@56k.es>
|
# Fanta <fanta@56k.es>
|
||||||
# Script para compilar mednafen en diferentes distros GNU Linux.
|
# Script para compilar mednafen en Debian
|
||||||
|
|
||||||
d="/tmp/mednafen"
|
d="/tmp/mednafen"
|
||||||
|
|
||||||
|
@ -55,18 +55,3 @@ cat /etc/issue | grep "Debian GNU/Linux 12" 1>/dev/null ; if [ "$?" -ne 1 ]; the
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ubuntu 22.04.1 LTS
|
|
||||||
cat /etc/issue | grep "Ubuntu 22.04.1 LTS" 1>/dev/null ; if [ "$?" -ne 1 ]; then
|
|
||||||
apt install -y libasound2-dev libflac-dev libsdl2-dev gcc make zlib1g-dev build-essential pkg-config
|
|
||||||
lastVersion=$(wget -q "https://mednafen.github.io/releases" -O - | tr "<" "\n" | grep -i "tar.xz" | grep -v "server" | grep -iv "unstable" | head -1 | cut -d "\"" -f 2)
|
|
||||||
lastVersionNameFile=$(echo "$lastVersion" | cut -d "/" -f 4)
|
|
||||||
lastVersionUrl="https://mednafen.github.io$lastVersion"
|
|
||||||
wget -q "$lastVersionUrl" -O $d/$lastVersionNameFile
|
|
||||||
cd $d
|
|
||||||
tar xfvJ $lastVersionNameFile
|
|
||||||
cd mednafen
|
|
||||||
./configure --enable-debugger
|
|
||||||
make -j$(nproc)
|
|
||||||
make install
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user