summaryrefslogtreecommitdiff
path: root/repo/system/findutils.xibuild
blob: fcbadbab892f420b2137b4981dcc6ea0ec2541fb (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 "
DEPS="musl sh"

PKG_VER=4.8.0
SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-$PKG_VER.tar.xz
DESC="GNU utilities to locate files"

build () {
    case $(uname -m) in
        i?86)   TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
        x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
    esac

    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}