summaryrefslogtreecommitdiff
path: root/repo/toybox/toybox.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
committerdavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
commit05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (patch)
tree0b058ac267139f2a0525dec42b307664363e5b11 /repo/toybox/toybox.xibuild
parent4c61af227b0fb3e028c877dc1c2e0b6513960762 (diff)
Making things work
Diffstat (limited to 'repo/toybox/toybox.xibuild')
-rw-r--r--repo/toybox/toybox.xibuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/repo/toybox/toybox.xibuild b/repo/toybox/toybox.xibuild
index 6dcc473..c6be8f4 100644
--- a/repo/toybox/toybox.xibuild
+++ b/repo/toybox/toybox.xibuild
@@ -3,7 +3,10 @@
NAME="toybox"
DESC="A BSD-licensed alternative to busybox"
-MAKEDEPS="linux-headers"
+MAKEDEPS="linux-headers tsort"
+
+# depend on mising utilities from other providers (ie sbase)
+DEPS="tsort"
PKG_VER=0.8.8
SOURCE="https://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz"
@@ -11,7 +14,7 @@ ADDITIONAL="
config
"
-tools=" basename cat chgrp chown chmod cksum crc32 cmp comm cp mv cpio cut date df dirname du echo env expand false file find getconf grep egrep fgrep head iconv id groups logname whoami kill killall5 link ln logger ls mkdir mkfifo nice nl nohup od paste patch printf ps top iotop pgrep pkill pwd renice rm rmdir sed sleep sort split strings tail tar tee test time touch true tty ulimit arch uname uniq unlink uudecode uuencode wc who xargs ascii unicode base32 fstype blockdev chroot count dos2unix unix2dos factor fmt hexedit printenv readlink realpath rev sha3sum shred stat tac nproc taskset timeout truncate usleep uuidgen w which md5sum sha1sum sha224sum sha256sum sha384sum sha512sum mknod mktemp seq sync "
+tools=" install basename cat chgrp chown chmod cksum crc32 cmp comm cp mv cpio cut date df dirname du echo env expand false find file getconf head iconv id groups logname whoami kill killall5 link ln logger ls mkdir mkfifo nice nl nohup od paste printf top iotop pwd renice rm rmdir sed sleep sort split strings tail tar tee test time touch true tty ulimit arch uname uniq unlink uudecode uuencode wc who xargs ascii unicode base32 fstype blockdev chroot count dos2unix unix2dos factor fmt hexedit printenv readlink realpath rev sha3sum shred stat tac nproc taskset timeout truncate usleep uuidgen w which md5sum sha1sum sha224sum sha256sum sha384sum sha512sum mknod mktemp seq sync "
prepare () {
make defconfig
@@ -21,7 +24,7 @@ prepare () {
build() {
for tool in $tools; do
echo "MAKING $tool"
- make $tool || return 1
+ scripts/single.sh $tool || return 1
done
}
@@ -34,6 +37,7 @@ build() {
package() {
for tool in $tools; do
install -Dm755 $tool $PKG_DEST/usr/bin/$tool || return 1
+ install -Dm755 $tool $PKG_DEST/usr/share/man/man1/$tool.1 || return 1
done
}