2010-05-05 21:38:13 +01:00
|
|
|
{stdenv, fetchurl, nasm}:
|
2005-01-19 22:12:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-10-19 23:05:34 +01:00
|
|
|
name = "lame-3.98.2";
|
2005-01-19 22:12:34 +00:00
|
|
|
src = fetchurl {
|
2009-10-19 23:05:34 +01:00
|
|
|
url = mirror://sourceforge/lame/lame-398-2.tar.gz;
|
|
|
|
sha256 = "0cmgr515szd9kd19mpzvwl3cbnpfyjyi47swj4afblcfkmb2hym1";
|
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
|
|
|
}
|