Ports: Add file utility port

This commit is contained in:
Liav A 2022-10-15 17:51:03 +03:00 committed by Linus Groh
parent a4fa604bde
commit 1e213cb3c4
Notes: sideshowbarker 2024-07-17 18:46:30 +09:00
2 changed files with 9 additions and 0 deletions

View file

@ -56,6 +56,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`ffmpeg`](ffmpeg/) | ffmpeg | 5.0 | https://ffmpeg.org |
| [`fheroes2`](fheroes2/) | Free Heroes of Might and Magic II | 0.9.13 | https://github.com/ihhub/fheroes2 |
| [`figlet`](figlet/) | FIGlet | 2.2.5 | http://www.figlet.org/ |
| [`file`](file/) | file (determine file type) | 5.43 | https://www.darwinsys.com/file/ |
| [`findutils`](findutils/) | GNU findutils | 4.9.0 | https://www.gnu.org/software/findutils/ |
| [`fio`](fio/) | fio - Flexible I/O tester | 3.30 | https://fio.readthedocs.io/en/latest/ |
| [`flatbuffers`](flatbuffers/) | Flatbuffers | 2.0.0 | https://github.com/google/flatbuffers |

8
Ports/file/package.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='file'
version='5.43'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('config.sub')
files="http://ftp.astron.com/pub/file/file-${version}.tar.gz file-${version}.tar.gz 8c8015e91ae0e8d0321d94c78239892ef9dbc70c4ade0008c0e95894abfb1991"
auth_type='sha256'