2021-04-04 17:28:41 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
|
|
|
|
port=SDL2_gfx
|
|
|
|
version=1.0.4
|
2021-04-16 17:39:43 +00:00
|
|
|
files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 15f9866c6464ca298f28f62fe5b36d9f"
|
|
|
|
auth_type=md5
|
2021-04-04 17:28:41 +00:00
|
|
|
depends="SDL2"
|
|
|
|
useconfigure=true
|
2021-04-20 15:42:04 +00:00
|
|
|
configopts="--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
2021-04-15 13:46:40 +00:00
|
|
|
|
|
|
|
install() {
|
2021-04-20 15:42:04 +00:00
|
|
|
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
|
2021-04-15 13:46:40 +00:00
|
|
|
}
|