mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
parent
812d8f9fa6
commit
ead57bf463
|
@ -8,8 +8,9 @@ stdenv.mkDerivation {
|
|||
sha256 = "17qi3nfky240pq6qcmf5qg324mxm83vk9r3nvsdhsvinyqm5d3kg";
|
||||
};
|
||||
|
||||
makeFlags = "CFLAGS=-lgcc_s USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1" +
|
||||
stdenv.lib.optionalString stdenv.isi686 " USE_LARGE_FILES=1";
|
||||
makeFlags = "USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1"
|
||||
+ stdenv.lib.optionalString stdenv.isi686 " USE_LARGE_FILES=1"
|
||||
+ stdenv.lib.optionalString stdenv.isLinux "CFLAGS=-lgcc_s";
|
||||
|
||||
preInstall = ''
|
||||
installFlags=PREFIX=$out
|
||||
|
@ -21,7 +22,7 @@ stdenv.mkDerivation {
|
|||
homepage = http://mktorrent.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Command line utility to create BitTorrent metainfo files";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
platforms = with stdenv.lib.platforms; unix;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue