summaryrefslogtreecommitdiff
path: root/repo/findutils/findutils.xibuild
blob: 48324a64d940b56ea35959c24ae1a38120bfd789 (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.8
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
}