nixpkgs/pkgs/development/libraries/consolekit/default.nix
Eelco Dolstra e061898b74 * ConsoleKit updated to 0.4.5.
svn path=/nixpkgs/branches/kde-4.7/; revision=27770
2011-07-13 18:54:27 +00:00

26 lines
924 B
Nix

{ stdenv, fetchurl, pkgconfig, dbus_glib, zlib, pam, glib
, libX11, polkit, expat }:
stdenv.mkDerivation rec {
name = "ConsoleKit-0.4.5";
src = fetchurl {
url = "http://www.freedesktop.org/software/ConsoleKit/dist/${name}.tar.bz2";
sha256 = "0f4wddl27cmi19mcw25l94z57hsd91z88gzczig153h7ac67iq23";
};
buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 polkit expat ];
# For console-kit to get the rpath to libgcc_s, needed for pthread_cancel to work
NIX_LDFLAGS = "-lgcc_s";
configureFlags = "--enable-pam-module --with-pam-module-dir=$(out)/lib/security --localstatedir=/var --sysconfdir=/etc";
installFlags = "sysconfdir=$(out)/etc DBUS_SYS_DIR=$(out)/etc/dbus-1/system.d"; # keep `make install' happy
meta = {
homepage = http://www.freedesktop.org/wiki/Software/ConsoleKit;
description = "A framework for defining and tracking users, login sessions, and seats";
};
}