blob: bea90f27353f99582658c22249cd9e91ab67af08 (
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.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/
}
|