# Description: Nvidia VDPAU lib
# URL: http://cgit.freedesktop.org/~aplattner/libvdpau
# Maintainer: NutyX core team
# Packager: lesibel at free dot fr
# Depends on: xorg-libx11

name=libvdpau
version=0.4
release=1

source=(http://people.freedesktop.org/~aplattner/vdpau/$name-$version.tar.gz ) 

build() {
  cd $name-$version

  ./configure --prefix=/usr
  make
  make DESTDIR=$PKG install 

  install -d -m755 $PKG/usr/share/licenses/$name
  install -m644 COPYING $PKG/usr/share/licenses/$name
}