# 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 at crux-arm dot nu # Depends on: zlib name=file version=5.04 release=2 source=(ftp://ftp.fu-berlin.de/unix/tools/file/$name-$version.tar.gz) build() { cd $name-$version sed -i magic/Makefile.am magic/Makefile.in \ -e 's|-C -m magic|-C -m magic/magic|' ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man \ --enable-fsect-man5 make make DESTDIR=$PKG install rmdir $PKG/usr/man/man4 }