CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
file: updated with host build. Thanks for the patch j_v
[crossrootfs.git] / findutils / Pkgfile
CommitLineData
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
7name=findutils
8version=4.4.2
d855e59d 9release=2
6dca1d21
JB
10source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
14 cat > config.cache << EOF
15gl_cv_func_wcwidth_works=yes
16gl_cv_header_working_fcntl_h=yes
17ac_cv_func_fnmatch_gnu=yes
18EOF
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr \
22 --disable-nls \
6dca1d21
JB
23 --cache-file=config.cache
24 make
25 make DESTDIR=$PKG install
26 rm $PKG/usr/bin/{updatedb,locate}
d855e59d
VM
27 rm $PKG/usr/share/man/man1/{updatedb.1,locate.1}
28 rm -r $PKG/usr/{libexec,var,share/{info,man/man5}}
6dca1d21 29}