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
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
6 # Depends on: libc2d libc2d-z160-imx libkgsl-imx imx-lib imx-firmware
7
8 name=xorg-video-imxng
9 version=20130610
10 release=1
11 source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.xz
12 ${name}_3.0.patch)
13
14 build() {
15 export CFLAGS="$CFLAGS -I/usr/include -I/usr/src/linux-`uname -r`/include"
16 cd xorg-video-imxng
17 patch -p1 -i $SRC/${name}_3.0.patch
18 chmod u+x autogen.sh
19 ./autogen.sh --prefix=/usr
20 make
21 make install DESTDIR=$PKG
22 }