contrib/sdl_image/Pkgfile

19 lines
516 B
Plaintext
Raw Normal View History

2007-04-10 21:27:15 +02:00
# Description: SDL_image is an image file loading library.
2023-10-15 13:15:37 +02:00
# URL: https://www.github.com/libsdl-org/SDL_image
2023-03-03 17:52:19 +01:00
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: libtiff libpng libsdl
2023-03-03 17:52:19 +01:00
# Optional: libwebp
2007-04-10 21:27:15 +02:00
name=sdl_image
2023-10-15 13:15:37 +02:00
version=1.2.13
_commit=4a2fe2441695e3813b3f998a802f364b4cdbdd17
2007-04-10 21:27:15 +02:00
release=1
2023-10-15 13:15:37 +02:00
source=(https://github.com/libsdl-org/SDL_image/archive/$_commit/$name-$version.tar.gz)
2007-04-10 21:27:15 +02:00
build() {
2023-10-15 13:15:37 +02:00
cd SDL_image-$_commit
./configure --prefix=/usr --disable-sdltest
make
make DESTDIR=$PKG install
2007-04-10 21:27:15 +02:00
}