epic5: add configure flags
This commit is contained in:
parent
dda70d9b06
commit
66eba1f3e0
@ -1,5 +1,4 @@
|
|||||||
{stdenv, fetchurl, pkgs, openssl
|
{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl }:
|
||||||
, ncurses, libiconv, tcl }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "epic5-${version}";
|
name = "epic5-${version}";
|
||||||
@ -11,17 +10,18 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Darwin needs libiconv, tcl; while Linux build don't
|
# Darwin needs libiconv, tcl; while Linux build don't
|
||||||
|
|
||||||
buildInputs = [ openssl ncurses ]
|
buildInputs = [ openssl ncurses ]
|
||||||
++ stdenv.lib.optionals
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv tcl ];
|
||||||
stdenv.isDarwin [ libiconv tcl ];
|
|
||||||
|
configureFlags = [ "--disable-debug" "--with-ipv6" ];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
substituteInPlace bsdinstall \
|
substituteInPlace bsdinstall \
|
||||||
--replace /bin/cp cp \
|
--replace /bin/cp cp \
|
||||||
--replace /bin/rm rm \
|
--replace /bin/rm rm \
|
||||||
--replace /bin/chmod chmod \
|
--replace /bin/chmod chmod
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://epicsol.org/";
|
homepage = "http://epicsol.org/";
|
||||||
description = "a IRC client that offers a great ircII interface";
|
description = "a IRC client that offers a great ircII interface";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user