From 26ccf2fca1e866fe17f0f233b33a2213cb903003 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 17 Feb 2010 10:44:16 +0100 Subject: [PATCH] libsdl: fixed dependencies for X11 and Tslib support --- libsdl/Pkgfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.26.2