core/file/Pkgfile

23 lines
503 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: File type identification utility
# 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
2022-06-11 01:13:11 +02:00
version=5.42
2018-07-28 09:48:01 +02:00
release=1
source=(https://github.com/file/file/archive/refs/tags/FILE${version/./_}.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
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
}