summaryrefslogtreecommitdiffstats
path: root/sdl_image/Pkgfile
blob: 32981305ebbedfd421ee42364b0fb1ca41cbc94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.12
release=1
source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-$version.tar.gz)

build() {
	cd SDL_image-$version
	./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
}