summaryrefslogtreecommitdiff
path: root/Ports/SDL2_mixer
diff options
context:
space:
mode:
authorPanagiotis Vasilopoulos <hello@alwayslivid.com>2021-04-20 18:42:04 +0300
committerLinus Groh <mail@linusgroh.de>2021-04-20 18:20:00 +0200
commit492f7132d297edc66efdad5a87135bbcef608c8b (patch)
treebaa5ecd698ed247ea4342881e2121d8604a2adc5 /Ports/SDL2_mixer
parent139288b071098fc0e2127800e4b18194a8f4035b (diff)
downloadserenity-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-xPorts/SDL2_mixer/package.sh8
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
}