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
|
|
|
|
# Depends on: zlib
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=file
|
2021-10-19 16:56:15 +02:00
|
|
|
version=5.41
|
2018-07-28 09:48:01 +02:00
|
|
|
release=1
|
2021-12-13 12:22:06 +01:00
|
|
|
source=(https://github.com/file/file/archive/refs/tags/FILE${version/./_}.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-12-13 12:22:06 +01:00
|
|
|
cd $name-FILE${version/./_}
|
|
|
|
autoreconf -vfi
|
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
|
|
|
}
|