CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
6ab69b3959e97758c4b2b6da0945ed2d681863c5
[crossrootfs.git] / 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, devel at crux-arm dot nu
5 # Depends on:
6
7 name=findutils
8 version=4.6.0
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
20 export CTARGET="arm-crux-linux-gnueabi"
21 ./configure --build=$CHOST \
22 --host=$CTARGET \
23 --prefix=/usr \
24 --disable-nls \
25 --cache-file=config.cache
26 make
27 make DESTDIR=$PKG install
28 rm $PKG/usr/bin/{updatedb,locate}
29 rm $PKG/usr/share/man/man1/{updatedb.1,locate.1}
30 rm -r $PKG/usr/{libexec,var,share/{info,man/man5}}
31 }