20 lines
440 B
Bash
Executable file
20 lines
440 B
Bash
Executable file
#!/bin/bash
|
|
wget -c "https://code.teampandory.com/thirdparty/sdl2_gfx/-/archive/1.0.4/sdl2_gfx-1.0.4.tar.gz"
|
|
tar xvf sdl2_gfx-1.0.4.tar.gz
|
|
cd sdl2_gfx-1.0.4
|
|
|
|
set -e
|
|
|
|
|
|
export SDL_CFLAGS="$($PREFIX/bin/sdl2-config --cflags) -O3"
|
|
export SDL_LIBS="$($PREFIX/bin/sdl2-config --libs)"
|
|
|
|
export PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig"
|
|
./autogen.sh
|
|
|
|
./configure \
|
|
--prefix="$PREFIX" \
|
|
--host="$xHOST" \
|
|
--enable-mmx=no \
|
|
;
|
|
make && make install
|