contrib/sdl2_image/Pkgfile

24 lines
521 B
Plaintext
Raw Normal View History

# Description: SDL_image is an image file loading library.
# URL: http://www.libsdl.org/projects/SDL_image
2020-01-21 12:04:43 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libsdl2 libwebp
name=sdl2_image
2020-01-21 12:04:43 +01:00
version=2.0.5
release=1
2020-01-21 12:04:43 +01:00
source=(https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$version.tar.gz)
build() {
2020-01-21 12:04:43 +01:00
cd SDL2_image-$version
./configure \
--prefix=/usr \
--disable-jpg-shared \
--disable-png-shared \
--disable-tif-shared \
--disable-webp-shared
make
make DESTDIR=$PKG install
}