CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-video-imxng: added patch to fix build with xorg-server 1.14.3
[ports/efikamx-arm.git] / xorg-video-imxng / Pkgfile
CommitLineData
7a61765c
VM
1# Description: i.MX accelerated video driver for the X.Org X server
2# URL: https://github.com/genesi/xorg-video-imxng
3# Packager: CRUX-ARM System Team, devel at crux-arm dot nu
4# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
2a12027f 6# Depends on: libc2d libc2d-z160-imx libkgsl-imx imx-lib imx-firmware
7a61765c 7
207f588c
VM
8name=xorg-video-imxng
9version=20130610
7a61765c 10release=1
a491641d 11source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.xz
2a12027f 12 ${name}_3.0.patch)
7a61765c
VM
13
14build() {
15 export CFLAGS="$CFLAGS -I/usr/include -I/usr/src/linux-`uname -r`/include"
331a71a0 16 cd xorg-video-imxng
2a12027f 17 patch -p1 -i $SRC/${name}_3.0.patch
7a61765c
VM
18 chmod u+x autogen.sh
19 ./autogen.sh --prefix=/usr
20 make
21 make install DESTDIR=$PKG
22}