CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dosfstools: initial import (verified compilation).
[attic/ports/opt-cross.git] / libsdl / Pkgfile
index 84e1ca738bb2f8dfbde6985a93aef726ff8f73f8..ff2c4b8861c45160fde24d28e5f8af6a31514bb2 100644 (file)
@@ -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