aboutsummaryrefslogtreecommitdiff
path: root/project/BuildDependencies
diff options
context:
space:
mode:
authorWiSo <wiso@xbmc.org>2011-04-09 21:12:27 +0200
committerWiSo <wiso@xbmc.org>2011-04-09 21:12:27 +0200
commit9eef2429a8859d6fb5b0437129dbe3bef9519dc0 (patch)
tree58b31a26d7e370a361bd2cf5d9fe2a320bcb6328 /project/BuildDependencies
parentcee9aea98dda6e66b630655f805eeac9b7954597 (diff)
[WIN32] added scripts to download pcre from our mirror
Diffstat (limited to 'project/BuildDependencies')
-rw-r--r--project/BuildDependencies/scripts/libpcre_d.bat20
-rw-r--r--project/BuildDependencies/scripts/libpcre_d.txt3
2 files changed, 23 insertions, 0 deletions
diff --git a/project/BuildDependencies/scripts/libpcre_d.bat b/project/BuildDependencies/scripts/libpcre_d.bat
new file mode 100644
index 0000000000..34de225000
--- /dev/null
+++ b/project/BuildDependencies/scripts/libpcre_d.bat
@@ -0,0 +1,20 @@
+@ECHO ON
+
+SET LOC_PATH=%CD%
+SET FILES=%LOC_PATH%\libpcre_d.txt
+
+CALL dlextract.bat libpcre %FILES%
+
+cd %TMP_PATH%
+
+xcopy include\* "%CUR_PATH%\include\" /E /Q /I /Y
+copy lib\pcre.lib "%CUR_PATH%\lib\" /Y
+copy lib\pcrecpp.lib "%CUR_PATH%\lib\" /Y
+copy bin\pcre.dll "%XBMC_PATH%\project\Win32BuildSetup\dependencies\" /Y
+copy bin\pcrecpp.dll "%XBMC_PATH%\project\Win32BuildSetup\dependencies\" /Y
+
+rem for debugging
+copy bin\pcre.dll "%XBMC_PATH%\project\VS2010Express\XBMC\Debug (DirectX)\" /Y
+copy bin\pcrecpp.dll "%XBMC_PATH%\project\VS2010Express\XBMC\Debug (DirectX)\" /Y
+
+cd %LOC_PATH%
diff --git a/project/BuildDependencies/scripts/libpcre_d.txt b/project/BuildDependencies/scripts/libpcre_d.txt
new file mode 100644
index 0000000000..87e43cd9a4
--- /dev/null
+++ b/project/BuildDependencies/scripts/libpcre_d.txt
@@ -0,0 +1,3 @@
+; filename mirror of the file source of the file
+pcre-vc100-8.10-bin.tar.bz2 http://mirrors.xbmc.org/build-deps/win32/ http://winkde.org/pub/kde/ports/win32/releases/stable/4.5.4/pcre-vc100-8.10-bin.tar.bz2
+pcre-vc100-8.10-lib.tar.bz2 http://mirrors.xbmc.org/build-deps/win32/ http://winkde.org/pub/kde/ports/win32/releases/stable/4.5.4/pcre-vc100-8.10-lib.tar.bz2