summaryrefslogtreecommitdiff
path: root/data/adv-cmds/make.sh
blob: 307777e3a94cb927a6b9f78f67519a8130002dae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
pkg:setup
"${PKG_TARG}-gcc" -O2 -mthumb -o tabs tabs.tproj/*.c -lncurses
"${PKG_TARG}-g++" -O2 -mthumb -o locale/locale locale/*.cc
for tproj in finger fingerd last lsvfs md ps; do
    echo "${tproj}"
    "${PKG_TARG}-gcc" -O2 -mthumb -o "${tproj}" "${tproj}.tproj"/*.c -D'__FBSDID(x)='
done
pkg: mkdir -p /bin /usr/bin /usr/libexec
pkg: cp -a ps /bin
pkg: cp -a finger last locale/locale lsvfs md tabs /usr/bin
pkg: cp -a fingerd /usr/libexec
ldid -S"${PKG_DATA}/ps.xml" "${PKG_DEST}/bin/ps"