summaryrefslogtreecommitdiff
path: root/repo/system/findutils.xibuild
blob: 68500958d13e6d721fd9aa4bcd3b560645861464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 
}