mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:17:44 +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:
parent
139288b071
commit
492f7132d2
53 changed files with 115 additions and 117 deletions
|
@ -9,13 +9,13 @@ depends="SDL2 freetype"
|
|||
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" \
|
||||
--with-x=no \
|
||||
FT2_CFLAGS="-I${SERENITY_BUILD_DIR}/Root/usr/local/include/freetype2" \
|
||||
FT2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2" \
|
||||
LIBS="-lgui -lgfx -lipc -lcore -lcompress"
|
||||
}
|
||||
|
||||
install() {
|
||||
run make install DESTDIR=$DESTDIR $installopts
|
||||
run ${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_ttf.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_ttf.a -Wl,--no-whole-archive
|
||||
run make install DESTDIR=${SERENITY_INSTALL_ROOT} $installopts
|
||||
run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_ttf.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_ttf.a -Wl,--no-whole-archive
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue