diff options
Diffstat (limited to 'repo/sort/sort.xibuild')
-rw-r--r-- | repo/sort/sort.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/sort/sort.xibuild b/repo/sort/sort.xibuild new file mode 100644 index 0000000..bea90f2 --- /dev/null +++ b/repo/sort/sort.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +MAKEDEPS="make" +DEPS="musl sh" + +PKG_VER=0.8.6 +SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz +DESC="Sort from toybox" + +prepare () { + # remove the -s sort flag missing from sbase + sed -i "s/sort -s/sort/g" scripts/*.sh +} + +build () { + ./configure + make sort +} + +package () { + install -Dm755 sort $PKG_DEST/usr/bin/ +} |