mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
b7556bdf10
svn path=/nixpkgs/branches/kde-4.7/; revision=27942
28 lines
579 B
Nix
28 lines
579 B
Nix
{stdenv, fetchurl, nasm}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xvidcore-1.3.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.xvid.org/downloads/${name}.tar.bz2";
|
|
sha256 = "1x0b2rq6fv99ramifhkakycd0prjc93lbzrffbjgjwg7w4s17hfn";
|
|
};
|
|
|
|
preConfigure = "cd build/generic";
|
|
|
|
buildInputs = [ nasm ];
|
|
|
|
postInstall =
|
|
''
|
|
rm $out/lib/*.a
|
|
(cd $out/lib && ln -s *.so.4.* libxvidcore.so && ln -s *.so.4.* libxvidcore.so.4 )
|
|
'';
|
|
|
|
meta = {
|
|
description = "MPEG-4 video codec for PC";
|
|
homepage = http://www.xvid.org/;
|
|
license = "GPLv2+";
|
|
};
|
|
}
|
|
|