gnu: zstd: Move libraries to separate outputs.

* gnu/packages/compression.scm (zstd)[outputs]: New field.
[arguments]: Add phase 'adjust-libary-locations'.  Pass LIBDIR and INCLUDEDIR
in <#:make-flags>.
* gnu/packages/backup.scm (borg)[inputs]: Change ZSTD to ZSTD:LIB.
* gnu/packages/sync.scm (casync)[inputs]: Likewise.
* gnu/packages/tor.scm (tor)[inputs]: Likewise.
* gnu/packages/linux.scm (btrfs-progs)[inputs]: Likewise.  Add ZSTD:STATIC.
This commit is contained in:
Marius Bakke 2019-07-22 14:53:12 +02:00
parent 8dea61731b
commit ec0de9d8bc
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
5 changed files with 35 additions and 6 deletions

View file

@ -227,7 +227,7 @@ and does not hamper local file system performance.")
("rsync" ,rsync))) ;for tests
(inputs
`(("xz" ,xz) ;for liblzma
("zstd" ,zstd)
("zstd" ,zstd "lib")
("curl" ,curl)
("acl" ,acl)
("libselinux" ,libselinux)