diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-23 15:01:00 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-23 15:01:00 -0400 |
commit | fcf88305cc8fc198f3c0b372557a4eaffe316a4f (patch) | |
tree | 67ff03447e1525bf09d1399f1d46a75906576d78 /pkgs/applications/audio/flac/default.nix | |
parent | dbe524fe3f1ccb0765d273e056a8ec3dd5c40e49 (diff) | |
download | nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.tar nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.tar.gz nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.tar.bz2 nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.tar.lz nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.tar.xz nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.tar.zst nixpkgs-fcf88305cc8fc198f3c0b372557a4eaffe316a4f.zip |
Split a few libraries into multiple outputs
Diffstat (limited to 'pkgs/applications/audio/flac/default.nix')
-rw-r--r-- | pkgs/applications/audio/flac/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/audio/flac/default.nix b/pkgs/applications/audio/flac/default.nix index fa201d20c3f..3f00d6b834e 100644 --- a/pkgs/applications/audio/flac/default.nix +++ b/pkgs/applications/audio/flac/default.nix @@ -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"; |