diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-02 14:54:23 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-03 00:24:28 +0100 |
commit | d030b608dd0b9d308aa769753dd30e68d71355d8 (patch) | |
tree | 5754c67c0cac97256a6975447ba6fdc3d8106023 /pkgs/tools/compression/zopfli | |
parent | 2ba8ae8d975d8bc614fbb0c214fb68fb66831d4e (diff) |
zopfli: build & install zopflipng, shared libraries, READMEs
Diffstat (limited to 'pkgs/tools/compression/zopfli')
-rw-r--r-- | pkgs/tools/compression/zopfli/default.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pkgs/tools/compression/zopfli/default.nix b/pkgs/tools/compression/zopfli/default.nix index b8458fa32659..3c455ca5635f 100644 --- a/pkgs/tools/compression/zopfli/default.nix +++ b/pkgs/tools/compression/zopfli/default.nix @@ -26,9 +26,22 @@ stdenv.mkDerivation rec { ]; enableParallelBuilding = true; + buildFlags = [ + "zopfli" + "libzopfli" + "zopflipng" + "libzopflipng" + ]; installPhase = '' - install -D zopfli $out/bin/zopfli + mkdir -p $out/bin + install -m755 zopfli{,png} $out/bin + + mkdir -p $out/lib + install -m755 libzopfli{,png}.so* $out/lib + + mkdir -p $out/share/doc/zopfli + install -m644 README* $out/share/doc/zopfli ''; meta = with stdenv.lib; { |