2010-05-05 21:38:13 +01:00
|
|
|
{stdenv, fetchurl, nasm}:
|
2005-01-19 22:12:34 +00:00
|
|
|
|
2010-05-27 21:49:04 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lame-3.98.4";
|
2005-01-19 22:12:34 +00:00
|
|
|
src = fetchurl {
|
2010-05-27 21:49:04 +01:00
|
|
|
url = "mirror://sourceforge/lame/${name}.tar.gz";
|
|
|
|
sha256 = "1j3jywv6ic2cy0x0q1a1h6rcl6xmcs5f58xawjdkl8hpcv3l8cdc";
|
2005-01-19 22:12:34 +00:00
|
|
|
};
|
2009-10-19 23:05:34 +01:00
|
|
|
|
2010-05-05 21:38:13 +01:00
|
|
|
buildInputs = [ nasm ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-nasm" ];
|
|
|
|
|
2009-10-19 23:05:34 +01:00
|
|
|
# Either disable static, or fix the rpath of 'lame' for it to point
|
|
|
|
# properly to the libmp3lame shared object.
|
|
|
|
dontDisableStatic = true;
|
2005-01-19 22:12:34 +00:00
|
|
|
}
|