Ports: Add libfts port

This ports an implementation of the FTS functions that can be used to
traverse the file system. They are non-standard, but provided by glibc
and most BSD systems. This ported library implements FTS for musl-based
Linux systems and happens to work on Serenity.
This commit is contained in:
René Hickersberger 2023-06-24 11:59:20 +02:00 committed by Tim Schumacher
parent f2bd3904da
commit a969e55bf2
2 changed files with 15 additions and 0 deletions

View file

@ -137,6 +137,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`libexpat`](libexpat/) | Expat | 2.4.8 | https://libexpat.github.io/ |
| [`libffi`](libffi/) | libffi | 3.4.2 | https://www.sourceware.org/libffi/ |
| [`libfftw3f`](libfftw3f/) | Fastest Fourier Transform in the West (single precision) | 3.3.10 | https://www.fftw.org/ |
| [`libfts`](libfts/) | libfts | 1.2.7 | https://github.com/void-linux/musl-fts |
| [`libgcrypt`](libgcrypt/) | libgcrypt | 1.10.1 | https://gnupg.org/software/libgcrypt/index.html |
| [`libgd`](libgd/) | libgd | 2.3.3 | https://libgd.github.io/ |
| [`libgpg-error`](libgpg-error/) | libgpg-error | 1.45 | https://gnupg.org/software/libgpg-error/index.html |

14
Ports/libfts/package.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='libfts'
version='1.2.7'
files=(
"https://github.com/void-linux/musl-fts/archive/refs/tags/v${version}.tar.gz 49ae567a96dbab22823d045ffebe0d6b14b9b799925e9ca9274d47d26ff482a6"
)
workdir="musl-fts-${version}"
useconfigure='true'
pre_configure() {
pushd $workdir
./bootstrap.sh
popd
}