summaryrefslogtreecommitdiff
path: root/data/iokittools/make.sh
blob: 04807cd3065a7fbc6a24a8d914a6b1fb8c84bbce (plain)
1
2
3
4
5
6
7
8
9
10
shopt -s extglob
pkg:setup
pkg: mkdir -p /usr/sbin
for tproj in *.tproj; do
    tproj=$(basename "${tproj}" .tproj)
    ${PKG_TARG}-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit -save-temps
    pkg: cp -a "${tproj}" /usr/sbin
done
# In firmware-sbin
pkg: rm /usr/sbin/ioreg