blob: 83dd5ae6d2772e2e9050c7899d520ee9466815f5 (
plain)
1 # Description: SDL, Simple DirectMedia Layer
2 # URL: https://www.libsdl.org/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: alsa-lib glu
5
6 name=libsdl
7 version=1.2.15
8 release=5
9 source=(https://www.libsdl.org/release/SDL-$version.tar.gz
10 $name-1.2.x-libx11.patch $name-$version-bs.patch)
11
12 build() {
13 cd SDL-$version
14
15 patch -p1 -i $SRC/$name-1.2.x-libx11.patch
16 patch -p1 -i $SRC/$name-$version-bs.patch
17
18 ./configure \
19 --prefix=/usr \
20 --enable-alsa \
21 --disable-rpath
22
23 make
24 make DESTDIR=$PKG install
25 }
|