summaryrefslogtreecommitdiff
path: root/data/iokittools/make.sh
diff options
context:
space:
mode:
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