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