seperate download from unpack
This commit is contained in:
parent
0f2ab13935
commit
54e0ff7f62
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
|||
|
||||
if [ ! -f $CACHEROOT/freetype-$FT_VERSION.tar.bz2 ]; then
|
||||
try curl -L http://download.savannah.gnu.org/releases/freetype/freetype-$FT_VERSION.tar.bz2 > $CACHEROOT/freetype-$FT_VERSION.tar.bz2
|
||||
fi
|
||||
if [ ! -d $TMPROOT/freetype-$FT_VERSION ]; then
|
||||
try rm -rf $TMPROOT/freetype-$FT_VERSION
|
||||
try tar xjf $CACHEROOT/freetype-$FT_VERSION.tar.bz2
|
||||
try mv freetype-$FT_VERSION $TMPROOT
|
||||
fi
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
if [ ! -f $CACHEROOT/SDL_ttf-$SDLTTF_VERSION.tar.gz ]; then
|
||||
try curl -L http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$SDLTTF_VERSION.tar.gz > $CACHEROOT/SDL_ttf-$SDLTTF_VERSION.tar.gz
|
||||
fi
|
||||
if [ ! -d $TMPROOT/SDL_ttf-$SDLTTF_VERSION ]; then
|
||||
try rm -rf $TMPROOT/SDL_ttf-$SDLTTF_VERSION
|
||||
try tar xzf $CACHEROOT/SDL_ttf-$SDLTTF_VERSION.tar.gz
|
||||
try mv SDL_ttf-$SDLTTF_VERSION $TMPROOT
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue