summaryrefslogtreecommitdiff
path: root/data/iokittools/make.sh
blob: 566b36f34e2649633989395ec01190e2243362d2 (plain)
1
2
3
4
5
6
7
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