# Maintainer: PktSurf <smlinux@pktsurf.in>
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-$version.tar.bz2"
desc="X.org framebuffer video driver"
requires="xorg-server"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix= \
    --enable-pciaccess \
    --disable-selective-werror 

  make
  make install DESTDIR=$pkg
  
  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
dd8f1a60975b3ae41cb28fe530681d40769caf3bbcda07a1a6751962762dc7d08496c9117385b65028d4ce5c5d63871b82f30cdf5f18cb8ba1872481e49702d0  xf86-video-fbdev-0.5.0.tar.lz
"
