summaryrefslogtreecommitdiff
path: root/data/adv-cmds/make.sh
blob: 42e5ec10fa9ea4854a5d8df39959593eaa5741e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
pkg:setup
set -x
"${PKG_TARG}-gcc" -O2 ${PKG_MCPU} -DPLATFORM_iPhoneOS -o tabs/tabs tabs/*.c -lncurses 
"${PKG_TARG}-g++" -O2 ${PKG_MCPU} -DPLATFORM_iPhoneOS -o locale/locale locale/*.cc
for tproj in finger last lsvfs cap_mkdb; do
    echo "${tproj}"
    "${PKG_TARG}-gcc" -O2 ${PKG_MCPU} -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