diff options
Diffstat (limited to 'data/shell-cmds/make.sh')
-rw-r--r-- | data/shell-cmds/make.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/shell-cmds/make.sh b/data/shell-cmds/make.sh new file mode 100644 index 000000000..898fd4f2a --- /dev/null +++ b/data/shell-cmds/make.sh @@ -0,0 +1,8 @@ +tar -zxvf "${PKG_DATA}/shell_cmds-116.tar.gz" +cd shell_cmds-116 +mkdir -p "${PKG_DEST}/usr/bin" +for bin in mktemp renice script time which; do + arm-apple-darwin-gcc -o "${bin}/${bin}" "${bin}"/*.c -D'__FBSDID(x)=' + cp -a "${bin}/${bin}" "${PKG_DEST}/usr/bin" +done +pkg:bin mktemp |