20 lines
441 B
Bash
20 lines
441 B
Bash
|
#!/bin/bash
|
||
|
wget -c https://code.teampandory.com/thirdparty/libmodplug/-/archive/pandory/libmodplug-pandory.tar.gz
|
||
|
tar xvf libmodplug-pandory.tar.gz
|
||
|
cd libmodplug-pandory
|
||
|
|
||
|
set -e
|
||
|
|
||
|
export CFLAGS="-I$PREFIX/include -O3"
|
||
|
export CXXFLAGS="-I$PREFIX/include -O3"
|
||
|
export LDFLAGS="-L$PREFIX/lib"
|
||
|
|
||
|
libtoolize --force
|
||
|
aclocal
|
||
|
autoheader
|
||
|
automake --force-missing --add-missing
|
||
|
autoconf
|
||
|
./configure --prefix="$PREFIX" --host="$xHOST"
|
||
|
make
|
||
|
make install
|