summaryrefslogtreecommitdiffstats
path: root/file/Pkgfile
blob: c636cb7dd5459cd096d80ee6f1fea043d640cd4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
description="File type identification utility."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.darwinsys.com/file/"
depends=(zlib)

name=file
version=5.04
release=1
source=(ftp://ftp.fu-berlin.de/unix/tools/$name/$name-$version.tar.gz)
build () 
{ 
	cd $name-$version;
	./configure \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--prefix=$prefix \
		--mandir=$mandir \
		--enable-fsect-man5;
	make;
	make DESTDIR=$PKG install;
	rmdir $PKG$mandir/man4
}