aboutsummaryrefslogtreecommitdiff
path: root/project/BuildDependencies/scripts/libexpat_d.bat
diff options
context:
space:
mode:
Diffstat (limited to 'project/BuildDependencies/scripts/libexpat_d.bat')
-rw-r--r--project/BuildDependencies/scripts/libexpat_d.bat15
1 files changed, 5 insertions, 10 deletions
diff --git a/project/BuildDependencies/scripts/libexpat_d.bat b/project/BuildDependencies/scripts/libexpat_d.bat
index 42e7bb6e7d..ea65ce7640 100644
--- a/project/BuildDependencies/scripts/libexpat_d.bat
+++ b/project/BuildDependencies/scripts/libexpat_d.bat
@@ -1,16 +1,11 @@
@ECHO OFF
-rmdir tmp /S /Q
-md tmp
-cd tmp
+SET LOC_PATH=%CD%
+SET FILES=%LOC_PATH%\libexpat_d.txt
-echo Downloading libexpat ...
-echo ------------------------
-%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip"
-%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip"
+CALL dlextract.bat libexpat %FILES%
-%ZIP% x expat_2.0.1-1_win32.zip
-%ZIP% x expat-dev_2.0.1-1_win32.zip
+cd %TMP_PATH%
copy include\* "%CUR_PATH%\include\" /Y
copy lib\expat.lib "%CUR_PATH%\lib\libexpat.lib" /Y
@@ -18,4 +13,4 @@ copy bin\libexpat-1.dll "%XBMC_PATH%\system\libexpat.dll"
rem libexpat-1.dll for libfontconfig-1.dll which is needed for libass.dll
copy bin\libexpat-1.dll "%XBMC_PATH%\system\players\dvdplayer\"
-cd ..
+cd %LOC_PATH%