ports: Add libsndfile port

This commit is contained in:
2025-11-02 21:13:33 +02:00
parent 3a79540d2d
commit bd9015e474
2 changed files with 63 additions and 0 deletions

15
ports/libsndfile/build.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash ../install.sh
NAME='libsndfile'
VERSION='1.2.2'
DOWNLOAD_URL="https://github.com/libsndfile/libsndfile/releases/download/$VERSION/libsndfile-$VERSION.tar.xz#3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e"
_DEPENDENCIES=('ca-certificates' 'openssl' 'zlib' 'zstd')
CONFIG_SUB=('build-aux/config.sub')
CONFIGURE_OPTIONS=(
'CFLAGS=-std=c11'
)
post_install() {
# remove libtool file
rm -f $BANAN_SYSROOT/usr/lib/libsndfile.la
}