forked from mirrors/nixpkgs
heimdal: add sqlite support and install server executables to $out/sbin
svn path=/nixpkgs/trunk/; revision=22988
This commit is contained in:
parent
f3403647d4
commit
accda9616f
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl }:
|
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl, sqlite} :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "heimdal-1.3.3";
|
name = "heimdal-1.3.3";
|
||||||
|
@ -14,7 +14,16 @@ stdenv.mkDerivation rec {
|
||||||
patches = [ ./no-md2.patch ];
|
patches = [ ./no-md2.patch ];
|
||||||
|
|
||||||
## ugly, X should be made an option
|
## ugly, X should be made an option
|
||||||
configureFlags = "--with-openldap=${openldap} --without-x";
|
configureFlags = [
|
||||||
|
"--with-openldap=${openldap}"
|
||||||
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl ];
|
"--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 sqlite];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue