# Description: File type identification utility
# URL: http://www.darwinsys.com/file/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on: zlib
name=file
-version=5.04
+version=5.18
release=1
-source=(ftp://ftp.fu-berlin.de/unix/tools/file/$name-$version.tar.gz)
+source=(ftp://ftp.astron.com/pub/file/$name-$version.tar.gz)
build() {
cd $name-$version
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
- --enable-fsect-man5
+ --enable-fsect-man5 \
+ --enable-static
+
make
make DESTDIR=$PKG install
- rmdir $PKG/usr/man/man4
+ rmdir $PKG/usr/share/man/man4
}