forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.sh
executable file
路21 lines (19 loc) 路 712 Bytes
/
package.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env -S bash ../.port_include.sh
port='SDL2_image'
useconfigure='true'
version='2.6.2'
depends=("SDL2" "libpng" "libjpeg" "libtiff")
files="https://github.com/libsdl-org/SDL_image/releases/download/release-${version}/SDL2_image-${version}.tar.gz SDL2_image-${version}.tar.gz 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777"
auth_type='sha256'
configure() {
run ./configure \
--host="${SERENITY_ARCH}-pc-serenity" \
--with-sdl-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--enable-webp=false --enable-webp-shared=false \
--disable-static \
--enable-shared \
LDFLAGS="-lgui -lgfx -lipc -lcore -lm"
}
build() {
run make -k
}