summaryrefslogtreecommitdiff
path: root/repo/system/findutils.xibuild
blob: 6828da1f4e9329cb308a0e0060a6f4dee69d7b06 (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="glibc 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 
}