summaryrefslogtreecommitdiffstats
path: root/extra/sdl_image/Pkgfile
blob: bf0b6003149af903caddd40ca74673df439f669c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Librairie pour charger des images.
# URL: http://www.libsdl.org/projects/SDL_image
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: thierryn1 at hispeed dot ch
# Depends on: libtiff, libpng, sdl
# Run on: libtiff,libpng,sdl

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)

build() {
	cd SDL_image-$version
	patch -p0 < ../sdl-image-1.2.10-libpng15.patch
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}