summaryrefslogtreecommitdiff
path: root/repo/util/fmt/fmt.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-22 17:47:09 +0100
committerdavidovski <david@davidovski.xyz>2022-05-22 17:47:09 +0100
commit79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (patch)
treef67d3b58f0c4387e7248967c491442afcee0cd06 /repo/util/fmt/fmt.xibuild
parent2f6c333a5bcef47d9fee59f180fa827cb24290d4 (diff)
fixes to allow for full build
Diffstat (limited to 'repo/util/fmt/fmt.xibuild')
-rw-r--r--repo/util/fmt/fmt.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/util/fmt/fmt.xibuild b/repo/util/fmt/fmt.xibuild
new file mode 100644
index 0000000..5c17a60
--- /dev/null
+++ b/repo/util/fmt/fmt.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl sh"
+
+PKG_VER=0.8.6
+SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz
+DESC="fmt from toybox"
+
+build () {
+ ./configure
+ make fmt
+}
+
+package () {
+ install -Dm755 fmt $PKG_DEST/usr/bin/
+}