diff options
author | Rosen Penev <rosenp@gmail.com> | 2024-04-13 14:35:46 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2024-04-20 18:06:21 -0700 |
commit | 72a6e17d49f07ae697d2fa33a08c02fee502f948 (patch) | |
tree | adf1c97d47cf9a259ac974e28f7a2db72e85ea4b /utils | |
parent | db07f86c35f5a1ee6a441262119d0443ac40ee9b (diff) |
xxhash: build with cmake
Faster.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/xxhash/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/xxhash/Makefile b/utils/xxhash/Makefile index 510193338..36f23732d 100644 --- a/utils/xxhash/Makefile +++ b/utils/xxhash/Makefile @@ -25,9 +25,10 @@ PKG_LICENSE:=BSD-2-Clause GPL-2.0-or-later PKG_LICENSE_FILES:=LICENSE cli/COPYING PKG_MAINTAINER:=Julien Malik <julien.malik@paraiso.me> -PKG_INSTALL:=1 +CMAKE_SOURCE_SUBDIR:=cmake_unofficial include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk define Package/xxhash/Default TITLE:=Extremely fast hash algorithm @@ -73,7 +74,7 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxxhash.{a,so*} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxxhash.so* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxxhash.pc $(1)/usr/lib/pkgconfig/ endef |