2010-05-05 22:38:13 +02:00
|
|
|
{stdenv, fetchurl, nasm}:
|
2005-01-19 23:12:34 +01:00
|
|
|
|
2010-05-27 22:49:04 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lame-3.98.4";
|
2005-01-19 23:12:34 +01:00
|
|
|
src = fetchurl {
|
2010-05-27 22:49:04 +02:00
|
|
|
url = "mirror://sourceforge/lame/${name}.tar.gz";
|
|
|
|
sha256 = "1j3jywv6ic2cy0x0q1a1h6rcl6xmcs5f58xawjdkl8hpcv3l8cdc";
|
2005-01-19 23:12:34 +01:00
|
|
|
};
|
2009-10-20 00:05:34 +02:00
|
|
|
|
2010-05-05 22:38:13 +02:00
|
|
|
buildInputs = [ nasm ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-nasm" ];
|
|
|
|
|
2009-10-20 00:05:34 +02: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 23:12:34 +01:00
|
|
|
}
|