summaryrefslogtreecommitdiff
path: root/data/iokittools/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/iokittools/make.sh
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/iokittools/make.sh')
-rw-r--r--data/iokittools/make.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/iokittools/make.sh b/data/iokittools/make.sh
new file mode 100644
index 000000000..566b36f34
--- /dev/null
+++ b/data/iokittools/make.sh
@@ -0,0 +1,8 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/IOKitTools-76.tar.gz"
+cd IOKitTools-76
+for tproj in *.tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ arm-apple-darwin-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit
+ pkg:usrbin "${tproj}"
+done