| 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 |
| 5 | # Depends on: tslib xorg-libxxf86dga xorg-libxv xorg-libxrandr |
| 6 | |
| 7 | name=libsdl |
| 8 | version=1.2.14 |
| 9 | release=2 |
| 10 | source=(http://www.libsdl.org/release/SDL-$version.tar.gz) |
| 11 | |
| 12 | build () { |
| 13 | cd SDL-$version |
| 14 | |
| 15 | export X_LIBS="-L$CLFS/usr/lib -lX11" |
| 16 | export X_CFLAGS="-I$CLFS/usr/include" |
| 17 | |
| 18 | ./configure --build=$CHOST \ |
| 19 | --host=$CTARGET \ |
| 20 | --prefix=/usr \ |
| 21 | --mandir=/usr/man \ |
| 22 | --with-x \ |
| 23 | --enable-input-tslib |
| 24 | |
| 25 | make |
| 26 | make DESTDIR=$PKG install |
| 27 | } |