From: Jose V Beneyto Date: Wed, 17 Feb 2010 09:44:16 +0000 (+0100) Subject: libsdl: fixed dependencies for X11 and Tslib support X-Git-Url: http://gitweb/?a=commitdiff_plain;h=26ccf2fca1e866fe17f0f233b33a2213cb903003;p=attic%2Fports%2Fopt-cross.git libsdl: fixed dependencies for X11 and Tslib support --- diff --git a/libsdl/Pkgfile b/libsdl/Pkgfile index 84e1ca7..ff2c4b8 100644 --- a/libsdl/Pkgfile +++ b/libsdl/Pkgfile @@ -2,21 +2,25 @@ # URL: http://www.libsdl.org # Packager: sten nick dot steeves at shaw dot ca # Maintainer: Jose V Beneyto sepen at crux dot nu -# Depends on: +# Depends on: tslib xorg-libxxf86dga xorg-libxv xorg-libxrandr name=libsdl version=1.2.14 -release=1 +release=2 source=(http://www.libsdl.org/release/SDL-$version.tar.gz) build () { cd SDL-$version + export X_LIBS="-L$CLFS/usr/lib -lX11" + export X_CFLAGS="-I$CLFS/usr/include" + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ - --enable-alsa \ - --mandir=/usr/man + --mandir=/usr/man \ + --with-x \ + --enable-input-tslib make make DESTDIR=$PKG install