summaryrefslogtreecommitdiff
path: root/data/iokittools/make.sh
blob: a846152d7a9ab923a463fa35d928469dfa270256 (plain)
1
2
3
4
5
6
7
8
9
shopt -s extglob
pkg:extract
cd *
pkg:patch
for tproj in *.tproj; do
    tproj=$(basename "${tproj}" .tproj)
    ${PKG_TARG}-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit
    pkg:usrbin "${tproj}"
done