CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / findutils / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5 # Depends on:
6
7 name=findutils
8 version=4.4.2
9 release=1
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
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 }