summaryrefslogtreecommitdiff
path: root/repo/sbase
diff options
context:
space:
mode:
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
+}