summaryrefslogtreecommitdiffstats
path: root/DownloadCygWinContribBinaries.sh
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-03-30 17:19:45 +0000
committersr55 <[email protected]>2007-03-30 17:19:45 +0000
commit6d76adbee7f4f4409ab0a90623a0ec910b8c3f83 (patch)
treed320e55f654028db31f9425c82c3fe2882003b4b /DownloadCygWinContribBinaries.sh
parentfa6c98ff1e6c0ed95d9b92aeecda5b146a453057 (diff)
2 Files added to allow for downloading of pre-compiled contrib binaries for windows.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@466 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'DownloadCygWinContribBinaries.sh')
-rw-r--r--DownloadCygWinContribBinaries.sh18
1 files changed, 18 insertions, 0 deletions
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
+