forked from mirrors/nixpkgs
davmail: remove unrelated files from $out/bin
This commit is contained in:
parent
d606717588
commit
20fea7f449
|
@ -7,19 +7,21 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0e650c4a060d64fd2b270ddb00baa906aac617865d5e60c9f526a281cdb27b62";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
meta = {
|
||||
description = "A Java application which presents a Microsoft Exchange server as local CALDAV, IMAP and SMTP servers";
|
||||
maintainers = [ stdenv.lib.maintainers.hinton ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
homepage = "http://davmail.sourceforce.net/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./* $out/bin/ -R
|
||||
wrapProgram $out/bin/davmail.sh --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]}
|
||||
'';
|
||||
mkdir -p $out/share/davmail
|
||||
cp -R ./* $out/share/davmail
|
||||
makeWrapper $out/share/davmail/davmail.sh $out/bin/davmail \
|
||||
--prefix PATH : ${jre}/bin \
|
||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://davmail.sourceforce.net/;
|
||||
description = "A Java application which presents a Microsoft Exchange server as local CALDAV, IMAP and SMTP servers";
|
||||
maintainers = [ maintainers.hinton ];
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue