Commit | Line | Data |
---|---|---|
843e7e0d JB |
1 | # Description: SDL Simple DirectMedia Layer |
2 | # URL: http://www.libsdl.org | |
3 | # Packager: sten nick dot steeves at shaw dot ca | |
4 | # Maintainer: Jose V Beneyto sepen at crux dot nu | |
26ccf2fc | 5 | # Depends on: tslib xorg-libxxf86dga xorg-libxv xorg-libxrandr |
843e7e0d JB |
6 | |
7 | name=libsdl | |
8 | version=1.2.14 | |
26ccf2fc | 9 | release=2 |
843e7e0d JB |
10 | source=(http://www.libsdl.org/release/SDL-$version.tar.gz) |
11 | ||
12 | build () { | |
13 | cd SDL-$version | |
14 | ||
26ccf2fc JB |
15 | export X_LIBS="-L$CLFS/usr/lib -lX11" |
16 | export X_CFLAGS="-I$CLFS/usr/include" | |
17 | ||
843e7e0d JB |
18 | ./configure --build=$CHOST \ |
19 | --host=$CTARGET \ | |
20 | --prefix=/usr \ | |
26ccf2fc JB |
21 | --mandir=/usr/man \ |
22 | --with-x \ | |
23 | --enable-input-tslib | |
843e7e0d JB |
24 | |
25 | make | |
26 | make DESTDIR=$PKG install | |
27 | } |