APP=xf86-video-fbdev
VERSION=0.5.0
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org"
DOWNLOAD="https://xorg.freedesktop.org/releases/individual/driver/xf86-video-fbdev-0.5.0.tar.bz2"
DESC="X.org framebuffer video driver"
REQUIRES="xorg-server "

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-pciaccess \
    --disable-selective-werror 

  make
  make install DESTDIR=$PKG
  
  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
aed59f23f376febb37b6ec0c62aaeba8979eee01018ea2211548827a622c06566aa729d59927c63c3ea126a929c4e050cc2eb7a5e6506f59c9edeecff130c46a  xf86-video-fbdev-0.5.0.tar.gz
"
