diff options
author | Panagiotis Vasilopoulos <hello@alwayslivid.com> | 2021-04-20 18:42:04 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-20 18:20:00 +0200 |
commit | 492f7132d297edc66efdad5a87135bbcef608c8b (patch) | |
tree | baa5ecd698ed247ea4342881e2121d8604a2adc5 /Ports/SDL2_mixer | |
parent | 139288b071098fc0e2127800e4b18194a8f4035b (diff) | |
download | serenity-492f7132d297edc66efdad5a87135bbcef608c8b.zip |
Ports: Improve consistency and quality of ports
- Replaced /Root with
- Improved documentation.
- Removed a few typos.
- Replaced with
- Added brackets in some cases.
Most of the changes were reviewed and applied manually.
Diffstat (limited to 'Ports/SDL2_mixer')
-rwxr-xr-x | Ports/SDL2_mixer/package.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Ports/SDL2_mixer/package.sh b/Ports/SDL2_mixer/package.sh index 4eb2ec54de..f8666cb83a 100755 --- a/Ports/SDL2_mixer/package.sh +++ b/Ports/SDL2_mixer/package.sh @@ -9,7 +9,7 @@ depends="SDL2 libvorbis" configure() { run ./configure \ --host="${SERENITY_ARCH}-pc-serenity" \ - --with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr/local" \ + --with-sdl-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \ --enable-music-opus=false --enable-music-opus-shared=false \ --enable-music-mod-modplug=false --enable-music-mod-modplug-shared=false \ EXTRA_LDFLAGS="-lgui -lgfx -lipc -lcore -lcompression" @@ -20,7 +20,7 @@ build() { } install() { - run make -k DESTDIR="${SERENITY_BUILD_DIR}/Root" install - ${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_mixer.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_mixer.a -Wl,--no-whole-archive -Wl,--no-as-needed -lvorbis -lvorbisfile - rm -f $DESTDIR/usr/local/lib/libSDL2_mixer.la + run make -k DESTDIR="${SERENITY_INSTALL_ROOT}" install + ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_mixer.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_mixer.a -Wl,--no-whole-archive -Wl,--no-as-needed -lvorbis -lvorbisfile + rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_mixer.la } |