2008-02-22 04:06:12 +01:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "liboil-" + version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
2008-03-10 21:13:44 +01:00
|
|
|
sha256 = "0cndfz98zca40qc1d2waq1dkfx32yscbllbvlnlhjp4cjlkyh9qg";
|
2008-02-22 04:06:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = "--enable-shared --disable-static";
|
|
|
|
|
2008-03-10 21:13:44 +01:00
|
|
|
buildInputs = [pkgconfig glib];
|
2008-02-22 04:06:12 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://liboil.freedesktop.org;
|
|
|
|
description = "Liboil is a library of simple functions that are optimized
|
|
|
|
for various CPUs.";
|
|
|
|
};
|
|
|
|
}
|