2006-02-23 16:26:10 +01:00
|
|
|
# Description: File type identification utility
|
2021-12-13 12:22:06 +01:00
|
|
|
# URL: https://www.darwinsys.com/file/
|
2021-04-01 10:59:41 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2022-12-27 11:55:10 +01:00
|
|
|
# Depends on: bzip2 zstd
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=file
|
2022-12-27 11:55:10 +01:00
|
|
|
version=5.44
|
2018-07-28 09:48:01 +02:00
|
|
|
release=1
|
2022-09-16 10:49:49 +02:00
|
|
|
source=(http://www.astron.com/pub/file/$name-$version.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2022-09-18 08:52:08 +02:00
|
|
|
cd file-$version
|
2021-04-01 10:59:41 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-fsect-man5 \
|
|
|
|
--enable-static \
|
|
|
|
--disable-libseccomp
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rmdir $PKG/usr/share/man/man4
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|