aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/get-mac.sh
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-10-26 14:57:34 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-10-26 14:57:34 -0700
commita5a32137ff0cb50356a50a44e87deadd0d40f220 (patch)
tree0424bd63e783758b99cdc8d5293d06875e3de649 /scripts/get-mac.sh
parentc7495855dede7a43d1d51e4c6c7aae8091c4938e (diff)
Refactored build system of dependencies
Diffstat (limited to 'scripts/get-mac.sh')
-rwxr-xr-xscripts/get-mac.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/get-mac.sh b/scripts/get-mac.sh
new file mode 100755
index 00000000..9ce0cece
--- /dev/null
+++ b/scripts/get-mac.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+pushd "`dirname $0`" > /dev/null
+scriptpath="`pwd`"
+popd > /dev/null
+
+. "$scriptpath/include.sh/build-dep.sh"
+
+deps="ctemplate-osx libetpan-osx uchardet-osx"
+for dep in $deps ; do
+ if test ! -d "$scriptpath/../Externals/$dep" ; then
+ name="$dep"
+ get_prebuilt_dep
+ fi
+done