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