summaryrefslogtreecommitdiffstats
path: root/sdl_image/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'sdl_image/Pkgfile')
-rw-r--r--sdl_image/Pkgfile19
1 files changed, 14 insertions, 5 deletions
diff --git a/sdl_image/Pkgfile b/sdl_image/Pkgfile
index bf0b60031..c6077d559 100644
--- a/sdl_image/Pkgfile
+++ b/sdl_image/Pkgfile
@@ -7,15 +7,24 @@
name=sdl_image
version=1.2.10
-release=4
-source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-$version.tar.gz sdl-image-1.2.10-libpng15.patch)
+release=5
+source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-$version.tar.gz
+ sdl-image-1.2.10-libpng15.patch)
build() {
cd SDL_image-$version
patch -p0 < ../sdl-image-1.2.10-libpng15.patch
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --enable-bmp \
+ --enable-gif \
+ --enable-jpg \
+ --enable-pcx \
+ --enable-png \
+ --enable-tif \
+ --enable-xpm \
+ --disable-jpg-shared \
+ --disable-png-shared \
+ --disable-tif-shared
make
make DESTDIR=$PKG install
}
-
-