Split a few libraries into multiple outputs

This commit is contained in:
Eelco Dolstra
2012-08-23 15:01:00 -04:00
parent dbe524fe3f
commit fcf88305cc
4 changed files with 67 additions and 2 deletions
+17
View File
@@ -18,6 +18,23 @@ stdenv.mkDerivation rec {
})
];
enableParallelBuilding = true;
outputs = [ "dev" "out" "bin" "doc" ];
configureFlags = [ "--bindir=$(bin)/bin" "--includedir=$(dev)/include" "--mandir=$(bin)/share/man" ];
installFlags = [ "pkgconfigdir=$(dev)/lib/pkgconfig m4datadir=$(dev)/share/aclocal" ];
postInstall =
''
if [ -e $out/share/doc ]; then
mkdir -p $doc/share/doc
mv $out/share/doc/* $doc/share/doc
rmdir $out/share/doc
fi
''; # */
meta = {
homepage = http://flac.sourceforge.net;
description = "Library and tools for encoding and decoding the FLAC lossless audio file format";