added missing hsSDL2-stuff to dependencies.

This commit is contained in:
Nicole Dresselhaus 2014-05-05 08:19:07 +02:00
parent 2150e8d7af
commit c37a49a948
No known key found for this signature in database
GPG Key ID: BC16D887851A1A80

23
deps/getDeps.sh vendored
View File

@ -14,7 +14,7 @@ fi
if [[ $install -eq 0 ]] if [[ $install -eq 0 ]]
then then
sudo apt-get install libsdl2-dev libsdl2-ttf-dev sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
fi fi
@ -38,6 +38,25 @@ else
cd .. cd ..
fi fi
if [ ! -d "hsSDL2-mixer" ]
then
git clone https://github.com/jdeseno/hs-sdl2-mixer hsSDL2-mixer
else
cd hsSDL2-mixer
git pull
cd ..
fi
if [ ! -d "hsSDL2-image" ]
then
git clone https://github.com/jdeseno/hs-sdl2-image hsSDL2-image
else
cd hsSDL2-image
git pull
cd ..
fi
echo "trying to build" echo "trying to build"
cabal install haddock cabal install haddock
@ -51,7 +70,7 @@ cabal install --only-dependencies
cabal build cabal build
cd .. cd ..
for t in "hsSDL2-ttf" for t in "hsSDL2-ttf" "hsSDL2-mixer" "hsSDL2-image"
do do
echo "building ${t}.." echo "building ${t}.."
cd "${t}" cd "${t}"