mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
492f7132d2
- 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.
14 lines
587 B
Bash
Executable file
14 lines
587 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=SDL2_gfx
|
|
version=1.0.4
|
|
files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 15f9866c6464ca298f28f62fe5b36d9f"
|
|
auth_type=md5
|
|
depends="SDL2"
|
|
useconfigure=true
|
|
configopts="--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
|
|
|
install() {
|
|
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
|
|
}
|