nixpkgs/pkgs/development/libraries/libmad/default.nix
Eelco Dolstra 0dcd621408 * libmad: build on GCC 4.3.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13973
2009-02-03 16:31:11 +00:00

20 lines
552 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libmad-0.15.1b";
src = fetchurl {
url = mirror://sourceforge/mad/libmad-0.15.1b.tar.gz;
sha256 = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690";
};
# The -fforce-mem flag has been removed in GCC 4.3.
preConfigure = ''
substituteInPlace configure --replace "-fforce-mem" ""
'';
meta = {
homepage = http://sourceforge.net/projects/mad/;
description = "MAD, a high-quality, fixed-point, MPEG audio decoder supporting MPEG-1 and MPEG-2.";
};
}