23 lines
503 B
Plaintext
23 lines
503 B
Plaintext
# Description: File type identification utility
|
|
# URL: https://www.darwinsys.com/file/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: zlib
|
|
|
|
name=file
|
|
version=5.41
|
|
release=1
|
|
source=(https://github.com/file/file/archive/refs/tags/FILE${version/./_}.tar.gz)
|
|
|
|
build() {
|
|
cd $name-FILE${version/./_}
|
|
autoreconf -vfi
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-fsect-man5 \
|
|
--enable-static \
|
|
--disable-libseccomp
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rmdir $PKG/usr/share/man/man4
|
|
}
|