3
0
Fork 0
forked from mirrors/nixpkgs

mupdf: Split 'dev' output

This commit is contained in:
Tuomas Tynkkynen 2016-08-31 13:12:11 +03:00
parent 96dae0f286
commit 6086142ece

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "prefix=$(out)" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib libX11 libXcursor libXext harfbuzz mesa libXrandr libXinerama freetype libjpeg jbig2dec openjpeg ];
outputs = [ "bin" "out" "doc" ];
outputs = [ "bin" "dev" "out" "doc" ];
preConfigure = ''
# Don't remove mujs because upstream version is incompatible
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
Description: Library for rendering PDF documents
Version: ${version}
Libs: -L$out/lib -lmupdf -lmupdfthird
Cflags: -I$out/include
Cflags: -I$dev/include
EOF
moveToOutput "bin" "$bin"