djvulibre: split dev and bin outputs
This commit is contained in:
parent
21eb255af9
commit
f9e9c7242a
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" "bin" ];
|
||||
|
||||
buildInputs = [ libjpeg libtiff librsvg ] ++ libintlOrEmpty;
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||
|
@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $f --replace antiword ${antiword}/bin/antiword
|
||||
substituteInPlace $f --replace awk ${gawk}/bin/awk
|
||||
substituteInPlace $f --replace catppt ${catdoc}/bin/catppt
|
||||
substituteInPlace $f --replace djvused ${djvulibre}/bin/djvused
|
||||
substituteInPlace $f --replace djvutxt ${djvulibre}/bin/djvutxt
|
||||
substituteInPlace $f --replace djvused ${djvulibre.bin}/bin/djvused
|
||||
substituteInPlace $f --replace djvutxt ${djvulibre.bin}/bin/djvutxt
|
||||
substituteInPlace $f --replace grep ${gnugrep}/bin/grep
|
||||
substituteInPlace $f --replace groff ${groff}/bin/groff
|
||||
substituteInPlace $f --replace gunzip ${gzip}/bin/gunzip
|
||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation {
|
||||
cp -R *.py pylrs $PYDIR
|
||||
|
||||
wrapProgram $out/bin/pdfread.py --prefix PYTHONPATH : $PYTHONPATH:${pil}/$LIBSUFFIX/PIL:$PYDIR \
|
||||
--prefix PATH : ${ghostscript}/bin:${pngnq}/bin:${djvulibre}/bin:${unrar}/bin:${optipng}/bin
|
||||
--prefix PATH : ${ghostscript}/bin:${pngnq}/bin:${djvulibre.bin}/bin:${unrar}/bin:${optipng}/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user