bozohttpd: use bmake flags instead of a custom installPhase
This commit is contained in:
parent
caaee8a55e
commit
28508dce6a
1 changed files with 1 additions and 6 deletions
|
@ -59,17 +59,12 @@ stdenv.mkDerivation rec {
|
|||
_LDADD = [ "-lcrypt" "-lm" ]
|
||||
++ optional (luaSupport) "-llua"
|
||||
++ optionals (sslSupport) [ "-lssl" "-lcrypto" ];
|
||||
makeFlags = [ "LDADD=$(_LDADD)" ];
|
||||
makeFlags = [ "LDADD=$(_LDADD)" "prefix=$(out)" "MANDIR=$(out)/share/man" "BINOWN=" ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ inetutils wget ];
|
||||
checkFlags = [ "-dx" "VERBOSE=yes" ] ++ optional (!cgiSupport) "CGITESTS=";
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -Dt $out/bin bozohttpd
|
||||
install -m644 -Dt $out/share/man/man8 bozohttpd.8
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bozotic HTTP server; small and secure";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue