Skip to content

Instantly share code, notes, and snippets.

@JPEGtheDev
Last active September 16, 2021 03:41
Show Gist options
  • Select an option

  • Save JPEGtheDev/91369e571069f0db38c2 to your computer and use it in GitHub Desktop.

Select an option

Save JPEGtheDev/91369e571069f0db38c2 to your computer and use it in GitHub Desktop.

Revisions

  1. JPEGtheDev revised this gist Oct 5, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion SDLInstall.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,6 @@ if [[ $EUID -ne 0 ]]; then
    echo "This script must be run as root"
    exit 1
    fi

    cd /tmp
    hg clone https://hg.libsdl.org/SDL SDL;
    cd SDL;
  2. JPEGtheDev revised this gist Oct 5, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion SDLInstall.sh
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,5 @@ mkdir build;
    cd build;
    ../configure
    make;
    make install;
    make install;
    sudo ln -s /usr/local/lib/libSDL2-2.0.so.0 /usr/lib64/libSDL2-2.0.so.0
  3. JPEGtheDev created this gist Oct 5, 2015.
    14 changes: 14 additions & 0 deletions SDLInstall.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    #!/bin/bash
    if [[ $EUID -ne 0 ]]; then
    echo "This script must be run as root"
    exit 1
    fi

    cd /tmp
    hg clone https://hg.libsdl.org/SDL SDL;
    cd SDL;
    mkdir build;
    cd build;
    ../configure
    make;
    make install;