heimdal: add sqlite support and install server executables to $out/sbin

svn path=/nixpkgs/trunk/; revision=22988
This commit is contained in:
David Guibert 2010-08-06 08:52:47 +00:00
parent f3403647d4
commit accda9616f

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl }:
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl, sqlite} :
stdenv.mkDerivation rec {
name = "heimdal-1.3.3";
@ -14,7 +14,16 @@ stdenv.mkDerivation rec {
patches = [ ./no-md2.patch ];
## ugly, X should be made an option
configureFlags = "--with-openldap=${openldap} --without-x";
configureFlags = [
"--with-openldap=${openldap}"
"--with-sqlite3=${sqlite}"
"--without-x"
];
# dont succeed with --libexec=$out/sbin, so
postInstall = ''
mv $out/libexec/* $out/sbin/
rmdir $out/libexec
'';
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl ];
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl sqlite];
}