xxhash: Fix pkg-config metadata file
authorJeffery To <jeffery.to@gmail.com>
Fri, 17 Feb 2023 04:02:58 +0000 (12:02 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 2 Nov 2023 00:14:01 +0000 (01:14 +0100)
commit37f1902ea8c1ca1fe4c3832d15cded402a362c1b
treebb5a004bf5dc2e0619ed6942b17c02ac8b49d7f7
parent5ebc703184495cdc36cf906c15cab36d65efe102
xxhash: Fix pkg-config metadata file

Currently, Build/InstallDev installs libxxhash.pc.in, which is the
template for libxxhash.pc and does not contain the correct information.
(pkg-config also does not recognize this file name.)

This uses PKG_INSTALL:=1 so that libxxhash.pc is generated (by 'make
install').

This also removes the need to override Build/Prepare by setting the
correct command in PKG_UNPACK.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2f4b161e2828a645ac1bfc2a77e9506fe3c8772d)
utils/xxhash/Makefile