Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Basic directory searching utilities |
2 | # URL: http://www.gnu.org/software/findutils/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=findutils | |
8ee92e9e VM |
8 | version=4.6.0 |
9 | release=1 | |
6dca1d21 JB |
10 | source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz) |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | cat > config.cache << EOF | |
15 | gl_cv_func_wcwidth_works=yes | |
16 | gl_cv_header_working_fcntl_h=yes | |
17 | ac_cv_func_fnmatch_gnu=yes | |
18 | EOF | |
7b0860c6 VM |
19 | |
20 | export CTARGET="arm-crux-linux-gnueabi" | |
6dca1d21 JB |
21 | ./configure --build=$CHOST \ |
22 | --host=$CTARGET \ | |
23 | --prefix=/usr \ | |
24 | --disable-nls \ | |
6dca1d21 JB |
25 | --cache-file=config.cache |
26 | make | |
27 | make DESTDIR=$PKG install | |
28 | rm $PKG/usr/bin/{updatedb,locate} | |
d855e59d VM |
29 | rm $PKG/usr/share/man/man1/{updatedb.1,locate.1} |
30 | rm -r $PKG/usr/{libexec,var,share/{info,man/man5}} | |
6dca1d21 | 31 | } |