From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/util/sort/sort.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/util/sort/sort.xibuild (limited to 'repo/util/sort') diff --git a/repo/util/sort/sort.xibuild b/repo/util/sort/sort.xibuild new file mode 100644 index 0000000..5310d1b --- /dev/null +++ b/repo/util/sort/sort.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +MAKEDEPS="make sort" +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/ +} -- cgit v1.2.1