CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
aumix: fixed url and description.
[attic/ports/opt-cross.git] / libsdl / Pkgfile
CommitLineData
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
7name=libsdl
8version=1.2.14
26ccf2fc 9release=2
843e7e0d
JB
10source=(http://www.libsdl.org/release/SDL-$version.tar.gz)
11
12build () {
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}