* PolicyKit: install the manpages.

svn path=/nixpkgs/trunk/; revision=17440
This commit is contained in:
Eelco Dolstra 2009-09-26 10:43:41 +00:00
parent 7638cc573e
commit d568a59c86
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, expat, pam
, intltool, gettext }:
, intltool, gettext, libxslt, docbook_xsl }:
stdenv.mkDerivation rec {
name = "policykit-0.9";
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "1dw05s4xqj67i3c13knzl04l8jap0kywzpav6fidpmqrximpq37l";
};
buildInputs = [ pkgconfig glib dbus.libs dbus_glib expat pam intltool gettext ];
buildInputs =
[ pkgconfig glib dbus.libs dbus_glib expat pam intltool
gettext libxslt
];
configureFlags = "--localstatedir=/var --sysconfdir=/etc";
@ -20,6 +23,9 @@ stdenv.mkDerivation rec {
# it works because it's only used in the C code for finding the
# policy directory.
NIX_CFLAGS_COMPILE = "-DPACKAGE_DATA_DIR=\"/etc\"";
# Needed to build the manpages.
XML_CATALOG_FILES = "${docbook_xsl}/xml/xsl/docbook/catalog.xml";
meta = {
homepage = http://www.freedesktop.org/wiki/Software/PolicyKit;

View File

@ -4086,7 +4086,8 @@ let
};
policykit = import ../development/libraries/policykit {
inherit stdenv fetchurl pkgconfig dbus dbus_glib expat pam intltool gettext;
inherit stdenv fetchurl pkgconfig dbus dbus_glib expat pam
intltool gettext libxslt docbook_xsl;
inherit (gtkLibs) glib;
};