blob: 3443aea3da5d5a90dbf6cbff239564e9ac2913f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
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
}
|