summaryrefslogtreecommitdiff
path: root/repo/findutils/findutils.xibuild
blob: 73d76603ca9c509b1011bdb62ddb6a279be272a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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="toybox utilities to locate files"

build () {
    make defconfig
    make xargs
    make find
    make fmt
}

package () {
    install -Dm755 find $PKG_DEST/usr/bin/find
    install -Dm755 fmt $PKG_DEST/usr/bin/fmt
    install -Dm755 xargs $PKG_DEST/usr/bin/xargs
}