forked from mirrors/nixpkgs
libvdpau: use a cleaner installation method
(cherry picked from commit bd2ca1e539
)
This commit is contained in:
parent
e4728dd05f
commit
9185fc7c6f
|
@ -14,13 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ];
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
cp -r $out/${mesa_noglu.driverLink}/* $out
|
||||
cp -r $out/$out/* $out
|
||||
rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2)
|
||||
'';
|
||||
installFlags = [ "moduledir=$(out)/lib/vdpau" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
||||
|
|
Loading…
Reference in a new issue