22 lines
416 B
Bash
Executable File
22 lines
416 B
Bash
Executable File
#!/bin/bash
|
|
if [ ! -e SDL ]
|
|
then
|
|
git clone https://quinn.zapto.org/gitea/apamment/quinn-sdl SDL
|
|
fi
|
|
|
|
cd SDL
|
|
|
|
cd $HOME/Quinn/src/quinn-os/programs/external/SDL/SDL
|
|
make distclean
|
|
|
|
./configure --prefix=/usr --host=i686-quinn
|
|
make
|
|
make DESTDIR=$HOME/Quinn/sysroot/ install
|
|
|
|
if [ ! -e $HOME/Quinn/fsroot/licenses ]
|
|
then
|
|
mkdir $HOME/Quinn/fsroot/licenses
|
|
fi
|
|
|
|
cp COPYING $HOME/Quinn/fsroot/licenses/SDL.license
|