blob: 1fdec776de3012ec75edd66e64260cd747fe2354 (
plain)
1 # Description: SDL, Simple DirectMedia Layer
2 # URL: http://www.libsdl.org
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: sten, nick dot steeves at shaw dot ca
5 # Depends on: alsa-lib mesa3d
6
7 name=libsdl
8 version=1.2.15
9 release=4
10 source=(http://www.libsdl.org/release/SDL-$version.tar.gz \
11 $name-1.2.x-libx11.patch $name-$version-bs.patch)
12
13 build () {
14 cd SDL-$version
15
16 patch -p1 -i $SRC/$name-1.2.x-libx11.patch
17 patch -p1 -i $SRC/$name-$version-bs.patch
18
19 ./configure --prefix=/usr \
20 --enable-alsa
21
22 make
23 make DESTDIR=$PKG install
24 }
|