1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:57:36 +00:00

Ports: Fix issues with the libmodplug and SDL_sound ports

- Lock SDL_sound to specific commit
- Convert properties to arrays where required
- Fix depends being called "deps"
This commit is contained in:
Tim Schumacher 2021-10-11 02:29:49 +02:00 committed by Brian Gianforcaro
parent 262b718912
commit 3908753347
2 changed files with 8 additions and 7 deletions

View file

@ -2,13 +2,13 @@
port=libmodplug
version=0.8.8.5
useconfigure=true
configopts="ac_cv_c_bigendian=no"
configopts=("ac_cv_c_bigendian=no")
files="https://download.sourceforge.net/modplug-xmms/libmodplug-${version}.tar.gz libmodplug-${version}.tar.gz 77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad"
auth_type=sha256
workdir="libmodplug-$version"
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libmodplug.so -Wl,-soname,libmodplug.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libmodplug.a -Wl,--no-whole-archive
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libmodplug.la
}