* xvidcore updated to 1.3.2. Also create a libxvidcore.so symlink and

get rid of the static library.

svn path=/nixpkgs/branches/kde-4.7/; revision=27939
This commit is contained in:
Eelco Dolstra 2011-07-25 14:19:10 +00:00
parent 0daba72245
commit f709d6c233

View File

@ -1,18 +1,22 @@
{stdenv, fetchurl, nasm}:
stdenv.mkDerivation rec {
name = "xvidcore-1.3.1";
name = "xvidcore-1.3.2";
src = fetchurl {
url = "http://downloads.xvid.org/downloads/${name}.tar.bz2";
sha256 = "0r1x00fgm7cbb7i9p17p9l0p4b82gig6sm0mbs6qrz84kd2fh6n5";
sha256 = "1x0b2rq6fv99ramifhkakycd0prjc93lbzrffbjgjwg7w4s17hfn";
};
preConfigure = ''
cd build/generic
'';
preConfigure = "cd build/generic";
buildInputs = [ nasm ];
postInstall =
''
rm $out/lib/*.a
(cd $out/lib && ln -s *.so.* libxvidcore.so)
'';
meta = {
description = "MPEG-4 video codec for PC";