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.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/data/adv-cmds/make.sh b/data/adv-cmds/make.sh
index 651693003..1322591b9 100644
--- a/data/adv-cmds/make.sh
+++ b/data/adv-cmds/make.sh
@@ -1,5 +1,9 @@
-tar -zxvf "${PKG_DATA}/adv_cmds-118.tar.gz"
-cd adv_cmds-118
-arm-apple-darwin-gcc -o ps ps.tproj/*.c -D'__FBSDID(x)='
-mkdir -p "${PKG_DEST}/usr/bin"
-cp -a ps "${PKG_DEST}/usr/bin"
+pkg:extract
+cd *
+for tproj in lsvfs ps; do
+ arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/*.c -D'__FBSDID(x)='
+ arm-apple-darwin-strip "${tproj}"
+done
+pkg: mkdir -p /bin /usr/bin
+pkg: cp -a ps /bin
+pkg: cp -a lsvfs /usr/bin