CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
curl: aligned with upstream
[crossrootfs.git] / file / Pkgfile
... / ...
CommitLineData
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, devel at crux-arm dot nu
5# Depends on: zlib
6
7name=file
8version=5.11
9release=1
10source=(ftp://ftp.fu-berlin.de/unix/tools/file/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --enable-fsect-man5
20
21 make
22 make DESTDIR=$PKG install
23 rmdir $PKG/usr/man/man4
24}