24 lines
545 B
Plaintext
24 lines
545 B
Plaintext
# Description: SDL_image is an image file loading library.
|
|
# URL: https://github.com/libsdl-org/SDL_image
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libsdl2 libwebp
|
|
|
|
name=sdl2_image
|
|
version=2.6.0
|
|
release=1
|
|
source=(https://github.com/libsdl-org/SDL_image/releases/download/release-$version/SDL2_image-$version.tar.gz)
|
|
|
|
build() {
|
|
cd SDL2_image-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-jpg-shared \
|
|
--disable-png-shared \
|
|
--disable-tif-shared \
|
|
--disable-webp-shared
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|