Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: File type identification utility |
2 | # URL: http://www.darwinsys.com/file/ | |
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: zlib | |
6 | ||
7 | name=file | |
8 | version=5.03 | |
9 | release=1 | |
10 | source=(ftp://ftp.fu-berlin.de/unix/tools/file/$name-$version.tar.gz) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --mandir=/usr/man \ | |
18 | --enable-fsect-man5 | |
19 | make | |
20 | make DESTDIR=$PKG install | |
21 | rmdir $PKG/usr/man/man4 | |
22 | } |