CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[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
9release=1
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 \
23 --mandir=/usr/man \
24 --cache-file=config.cache
25 make
26 make DESTDIR=$PKG install
27 rm $PKG/usr/bin/{updatedb,locate}
28 rm $PKG/usr/man/man1/{updatedb.1,locate.1}
29 rm -r $PKG/usr/{libexec,share,var,man/man5}
30}