CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
udev: removed (not required in hardfp)
[ports/efikamx-arm.git] / xorg-xf86-video-imx / Pkgfile
index bd590320f2567e47b4883e20d065c752b810ad44..7da9ccdbca75e5225d4d0ae2f2c6bfcf187c19a2 100644 (file)
@@ -1,19 +1,22 @@
 # Description: i.MX accelerated video driver for the X.Org X server 
-# URL: 
+# URL: https://github.com/genesi/xorg-video-imx
 # Packager: CRUX-ARM System Team, devel at crux-arm dot nu
 # Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: git xorg-util-macros libz160 amd-gpu-x11-bin-mx51 imx-lib
+# Depends on: xorg-util-macros libz160 amd-gpu-x11-bin-mx51 imx-lib
 
 name=xorg-xf86-video-imx
-version=10.11.01
+version=20111109
 release=1
-source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.bz2)
+source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.bz2 \
+       xorg-xf86-video-imx_misc.patch)
 
 build() {
-  cd xf86-video-imx
+  export CFLAGS="$CFLAGS -I/usr/src/linux-`uname -r`/include"
+  cd $name-$version
+  patch -p0 -i $SRC/xorg-xf86-video-imx_misc.patch
   chmod u+x autogen.sh
-  ./autogen.sh --prefix=/usr --disable-nls --mandir=/usr/man
+  ./autogen.sh --prefix=/usr
   make
   make install DESTDIR=$PKG
 }