4 HOST=http://download.m0k.org
5 FILE=contribbin-cygwin-0001.tar.gz
6 URL=$HOST/handbrake/contrib/$FILE
7 # Check for internet connectivity
8 #if ! host $HOST > /dev/null 2>&1; then
9 # echo "Please connect to the Internet (could not resolve $HOST)."
13 # Get and install the package
14 echo "Getting contribs ($VERSION)..."
15 ( 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