#!/bin/sh

MAKEDEPS="make"
DEPS="xorg-server mesa libva"

DESC="intel's VA api driver"

PKG_VER=2.4.1
SOURCE=https://github.com/intel/intel-vaapi-driver/releases/download/$PKG_VER/intel-vaapi-driver-$PKG_VER.tar.bz2

build () {
    ./configure $XORG_CONFIG
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}