blob: 7a1ac5759838ae904e8289bfa8592b97b1246b6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
MAKEDEPS="make"
DEPS="musl sh"
PKG_VER=0.8.8
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/
}
|