summaryrefslogtreecommitdiff
path: root/repo/sbase
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/sbase
parent4c61af227b0fb3e028c877dc1c2e0b6513960762 (diff)
Making things work
Diffstat (limited to 'repo/sbase')
-rw-r--r--repo/sbase/sbase-box.xibuild6
-rw-r--r--repo/sbase/tsort.xibuild15
2 files changed, 18 insertions, 3 deletions
diff --git a/repo/sbase/sbase-box.xibuild b/repo/sbase/sbase-box.xibuild
index a3e36a7..f1e3c56 100644
--- a/repo/sbase/sbase-box.xibuild
+++ b/repo/sbase/sbase-box.xibuild
@@ -1,11 +1,11 @@
#!/bin/sh
-DESC="toybox coreutils statically linked into one executable"
+DESC="sbase coreutils statically linked into one executable"
build () {
- make CFLAGS="$CFLAGS -static" toybox-box
+ make CFLAGS="$CFLAGS -static" sbase-box
}
package () {
- make DESTDIR="$PKG_DEST" toybox-box-install
+ make DESTDIR="$PKG_DEST" sbase-box-install
}
diff --git a/repo/sbase/tsort.xibuild b/repo/sbase/tsort.xibuild
new file mode 100644
index 0000000..1627e12
--- /dev/null
+++ b/repo/sbase/tsort.xibuild
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+NAME="tsort"
+DESC="tsort from sbase"
+
+MAKEDEPS="make "
+
+build () {
+ make PREFIX=/usr tsort
+}
+
+package () {
+ install -Dm755 tsort $PKG_DEST/usr/bin/tsort
+ install -Dm644 tsort.1 $PKG_DEST/usr/share/man/man1/tsort.1
+}