# Description: Basic directory searching utilities
# URL: http://www.gnu.org/software/findutils/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on:
name=findutils
-version=4.4.2
+version=4.6.0
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
gl_cv_header_working_fcntl_h=yes
ac_cv_func_fnmatch_gnu=yes
EOF
+
+ export CTARGET="arm-crux-linux-gnueabi"
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--disable-nls \
- --mandir=/usr/man \
--cache-file=config.cache
make
make DESTDIR=$PKG install
rm $PKG/usr/bin/{updatedb,locate}
- rm $PKG/usr/man/man1/{updatedb.1,locate.1}
- rm -r $PKG/usr/{libexec,share,var,man/man5}
+ rm $PKG/usr/share/man/man1/{updatedb.1,locate.1}
+ rm -r $PKG/usr/{libexec,var,share/{info,man/man5}}
}