summaryrefslogtreecommitdiff
path: root/data/adv-cmds/make.sh
blob: 861dc5848d449f9a75b1fe9a6fcacf14653cd016 (plain)
1
2
3
4
5
6
7
8
9
10
11
pkg:setup
set -x
"${PKG_TARG}-gcc" -O2 -mthumb -DPLATFORM_iPhoneOS -o tabs/tabs tabs/*.c -lncurses 
"${PKG_TARG}-g++" -O2 -mthumb -DPLATFORM_iPhoneOS -o locale/locale locale/*.cc
for tproj in finger last lsvfs cap_mkdb; do
    echo "${tproj}"
    "${PKG_TARG}-gcc" -O2 -mthumb -DPLATFORM_iPhoneOS -o "${tproj}/${tproj}" "${tproj}"/*.c -D'__FBSDID(x)='
done
set +x
pkg: mkdir -p /bin /usr/bin
pkg: cp -a cap_mkdb/cap_mkdb finger/finger last/last locale/locale lsvfs/lsvfs tabs/tabs /usr/bin