rtmpdump: build on Darwin

This commit is contained in:
Spencer Whitt 2015-04-02 20:46:09 -04:00
parent 14602b8a43
commit a511157233

View File

@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
makeFlags = [ ''prefix=$(out)'' ]
++ optional gnutlsSupport "CRYPTO=GNUTLS"
++ optional opensslSupport "CRYPTO=OPENSSL";
++ optional opensslSupport "CRYPTO=OPENSSL"
++ optional stdenv.isDarwin "CC=clang SYS=darwin";
buildInputs = [ zlib ]
++ optional gnutlsSupport gnutls
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
description = "Toolkit for RTMP streams";
homepage = http://rtmpdump.mplayerhq.hu/;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ codyopel viric ];
};
}