CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
findutils: adapted to 64b
[crossrootfs.git] / findutils / Pkgfile
index bd74a911ceda32b101e61236dc3718a86c93bca7..c2fbb0b64be30e9b39597a81a6f22e3ecabc14c5 100644 (file)
@@ -6,7 +6,7 @@
 
 name=findutils
 version=4.4.2
-release=1
+release=2
 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
 
 build() {
@@ -16,15 +16,16 @@ gl_cv_func_wcwidth_works=yes
 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}}
 }