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