mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
zopfli: build & install zopflipng, shared libraries, READMEs
This commit is contained in:
parent
2ba8ae8d97
commit
d030b608dd
@ -26,9 +26,22 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
buildFlags = [
|
||||||
|
"zopfli"
|
||||||
|
"libzopfli"
|
||||||
|
"zopflipng"
|
||||||
|
"libzopflipng"
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user