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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: zlib |
6 | ||
7 | name=file | |
aa257bd8 | 8 | version=5.18 |
b3f6a74e | 9 | release=1 |
aa257bd8 | 10 | source=(ftp://ftp.astron.com/pub/file/$name-$version.tar.gz) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
f60269ec | 14 | |
6dca1d21 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
18 | --mandir=/usr/man \ | |
a19adbad VM |
19 | --enable-fsect-man5 \ |
20 | --enable-static | |
f60269ec | 21 | |
6dca1d21 JB |
22 | make |
23 | make DESTDIR=$PKG install | |
24 | rmdir $PKG/usr/man/man4 | |
25 | } |