From 9aea8727be9505c532e6f8e6fc28c51d2184fa70 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 11 Nov 2007 16:17:21 +0000 Subject: [PATCH] Added lzo library svn path=/nixpkgs/trunk/; revision=9636 --- pkgs/development/libraries/lzo/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/lzo/default.nix diff --git a/pkgs/development/libraries/lzo/default.nix b/pkgs/development/libraries/lzo/default.nix new file mode 100644 index 000000000000..64d03c434c2f --- /dev/null +++ b/pkgs/development/libraries/lzo/default.nix @@ -0,0 +1,14 @@ +args: with args; +stdenv.mkDerivation rec { + name = "lzo-2.02"; + src = fetchurl { + url = "${meta.homepage}/download/${name}.tar.gz"; + sha256 = "1i9g9bdrmyn6546rnck3kkh8nssfaw75m2rxir4sn7bwvnsfryx2"; + }; + configureFlags = "--enable-shared --disable-static"; + meta = { + description = "LZO is a data compresion library which is suitable for + data de-/compression in real-time"; + homepage = http://www.oberhumer.com/opensource/lzo; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 37ff5ba0bdbb..1d0254b75855 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2072,6 +2072,10 @@ rec { includeUnpack = getConfig ["stdenv" "includeUnpack"] false; }); + lzo = import ../development/libraries/lzo { + inherit fetchurl stdenv; + }; + mesaSupported = system == "i686-linux" || system == "x86_64-linux";