1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:47:34 +00:00

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.
This commit is contained in:
Panagiotis Vasilopoulos 2021-04-20 18:42:04 +03:00 committed by Linus Groh
parent 139288b071
commit 492f7132d2
53 changed files with 115 additions and 117 deletions

View file

@ -6,9 +6,9 @@ files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar
auth_type=md5
depends="SDL2"
useconfigure=true
configopts="--with-sdl-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
configopts="--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
install() {
run make install DESTDIR=$DESTDIR $installopts
run ${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_gfx.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_gfx.a -Wl,--no-whole-archive
run make install DESTDIR=${SERENITY_INSTALL_ROOT} $installopts
run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.a -Wl,--no-whole-archive
}