OSDN Git Service

2 Files added to allow for downloading of pre-compiled contrib binaries for windows.
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 30 Mar 2007 17:19:45 +0000 (17:19 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 30 Mar 2007 17:19:45 +0000 (17:19 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@466 b64f7644-9d1e-0410-96f1-a4d463321fa5

CygWinContribBinariesVersion.txt [new file with mode: 0644]
DownloadCygWinContribBinaries.sh [new file with mode: 0644]

diff --git a/CygWinContribBinariesVersion.txt b/CygWinContribBinariesVersion.txt
new file mode 100644 (file)
index 0000000..6350475
--- /dev/null
@@ -0,0 +1 @@
+0001
diff --git a/DownloadCygWinContribBinaries.sh b/DownloadCygWinContribBinaries.sh
new file mode 100644 (file)
index 0000000..df4b78f
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+
+HOST=http://download.m0k.org
+FILE=contribbin-cygwin-0001.tar.gz
+URL=$HOST/handbrake/contrib/$FILE
+# Check for internet connectivity
+#if ! host $HOST > /dev/null 2>&1; then
+#  echo "Please connect to the Internet (could not resolve $HOST)."
+#  exit 1
+#fi
+
+# Get and install the package
+echo "Getting contribs ($VERSION)..."
+( cd contrib && rm -f contribbin-cygwin-0001.tar.gz && wget $URL && rm -Rf lib include && tar xzf contribbin-cygwin-0001.tar.gz && ranlib lib/*.a ) || exit 1
+
+exit 0
+