package/zstd: rework build and install
authorNorbert Lange <nolange79@gmail.com>
Wed, 4 Aug 2021 21:56:50 +0000 (23:56 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 5 Aug 2021 20:20:28 +0000 (22:20 +0200)
commit0f0e913f10caf21f23c2e46f210519a7a3bc0b32
tree82955e3eee94106e2e0a7f785eae890e42d5d979
parent60f7c478e4682eb6d562b1f38fbfa44ce4b37675
package/zstd: rework build and install

Create libzstd.pc in the build step instead of triggering a
lazy build during installation when it is missing.

Move PREFIX=/usr to ZSTD_OPTS. It is needed for building libzstd.pc
during the build step; for consistency, make sure it's available in all
steps.

Attach '-release' to the targets, since the default is to
build lib-release and zstd-release. Its only effect is to clear
DEBUGFLAGS (which are just warning flags).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[Arnout: add check-package disable]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/zstd/zstd.mk