Skip to content

Commit

Permalink
fix: glew url in pack demo script
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Dec 25, 2024
1 parent 0830e47 commit c12dd6f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions build/pack-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,16 @@ url="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${ver}"
rm -rf /tmp/SDL2_ttf-${ver}
}


[ -r ${glew} ] || {
wget "https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0-win32.zip"
ver=2.2.0
url="https://github.com/nigels-com/glew/releases/download/glew-${ver}/glew-${ver}-win32.zip"
[ -r glew-${ver}-win32.zip ] || {
wget {$url}
}
[ -r cjit-demo/glew32.dll ] || {
unzip -q -d /tmp glew-2.2.0-win32.zip
mv /tmp/glew-2.2.0/bin/Release/x64/glew32.dll cjit-demo/
mv /tmp/glew-2.2.0/include/GL cjit-demo/
rm -rf /tmp/glew-2.2.0
unzip -q -d /tmp glew-${ver}-win32.zip
mv /tmp/glew-${ver}/bin/Release/x64/glew32.dll cjit-demo/
mv /tmp/glew-${ver}/include/GL cjit-demo/
rm -rf /tmp/glew-${ver}
}

tar --format ustar -czf cjit-demo.tar.gz cjit-demo
Expand Down

0 comments on commit c12dd6f

Please sign in to comment.