summaryrefslogtreecommitdiff
path: root/data/adv-cmds/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/adv-cmds/make.sh')
-rw-r--r--data/adv-cmds/make.sh17
1 files changed, 8 insertions, 9 deletions
diff --git a/data/adv-cmds/make.sh b/data/adv-cmds/make.sh
index f6e0a9882..861dc5848 100644
--- a/data/adv-cmds/make.sh
+++ b/data/adv-cmds/make.sh
@@ -1,12 +1,11 @@
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
+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 -o "${tproj}" "${tproj}.tproj"/*.c -D'__FBSDID(x)='
+ "${PKG_TARG}-gcc" -O2 -mthumb -DPLATFORM_iPhoneOS -o "${tproj}/${tproj}" "${tproj}"/*.c -D'__FBSDID(x)='
done
-pkg: mkdir -p /bin /usr/bin /usr/libexec
-pkg: cp -a ps /usr/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}/usr/bin/ps"
+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