enable lzma support in squashfs-tools
svn path=/nixpkgs/trunk/; revision=25602
This commit is contained in:
parent
b8b5a58681
commit
b7f536027d
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, zlib, attr}:
|
{stdenv, fetchurl, zlib, attr, xz}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "squashfs-4.1";
|
name = "squashfs-4.1";
|
||||||
|
@ -8,16 +8,17 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0sh40r7gz81fg7ivgr7rld8spvqb6hsfvnf6gd3gbcr5b830v1rs";
|
sha256 = "0sh40r7gz81fg7ivgr7rld8spvqb6hsfvnf6gd3gbcr5b830v1rs";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [zlib attr];
|
buildInputs = [zlib attr xz];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
cd squashfs-tools
|
cd squashfs-tools
|
||||||
'';
|
'';
|
||||||
|
IUSE="+gzip +lzma";
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
|
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
|
||||||
|
|
||||||
installFlags = "INSTALL_DIR=\${out}/bin";
|
installFlags = "INSTALL_DIR=\${out}/bin";
|
||||||
|
makeFlags = "XZ_SUPPORT=1";
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://squashfs.sourceforge.net/;
|
homepage = http://squashfs.sourceforge.net/;
|
||||||
description = "Tool for creating and unpacking squashfs filesystems";
|
description = "Tool for creating and unpacking squashfs filesystems";
|
||||||
|
|
Loading…
Reference in New Issue