heimdal: Build hcrypto for depdendant applications

This commit is contained in:
William A. Kennington III 2015-01-02 17:18:57 -08:00
parent cde8e6086f
commit bd0567ecd4

View File

@ -22,8 +22,18 @@ stdenv.mkDerivation rec {
"--without-x" "--without-x"
]; ];
# dont succeed with --libexec=$out/sbin, so # We need to build hcrypt for applications like samba
postBuild = ''
(cd lib/hcrypto; make)
(cd include/hcrypto; make)
'';
postInstall = '' postInstall = ''
# Install hcrypto
(cd lib/hcrypto; make install)
(cd include/hcrypto; make install)
# dont succeed with --libexec=$out/sbin, so
mv "$out/libexec/"* $out/sbin/ mv "$out/libexec/"* $out/sbin/
rmdir $out/libexec rmdir $out/libexec
''; '';