diff options
Diffstat (limited to 'data/iokittools/make.sh')
-rw-r--r-- | data/iokittools/make.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/iokittools/make.sh b/data/iokittools/make.sh index 566b36f34..a846152d7 100644 --- a/data/iokittools/make.sh +++ b/data/iokittools/make.sh @@ -1,8 +1,9 @@ shopt -s extglob -tar -zxvf "${PKG_DATA}/IOKitTools-76.tar.gz" -cd IOKitTools-76 +pkg:extract +cd * +pkg:patch for tproj in *.tproj; do tproj=$(basename "${tproj}" .tproj) - arm-apple-darwin-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit + ${PKG_TARG}-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit pkg:usrbin "${tproj}" done |