summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CygWinContribBinariesVersion.txt1
-rw-r--r--DownloadCygWinContribBinaries.sh18
2 files changed, 19 insertions, 0 deletions
diff --git a/CygWinContribBinariesVersion.txt b/CygWinContribBinariesVersion.txt
new file mode 100644
index 000000000..635047563
--- /dev/null
+++ b/CygWinContribBinariesVersion.txt
@@ -0,0 +1 @@
+0001
diff --git a/DownloadCygWinContribBinaries.sh b/DownloadCygWinContribBinaries.sh
new file mode 100644
index 000000000..df4b78fdd
--- /dev/null
+++ b/DownloadCygWinContribBinaries.sh
@@ -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
+