From: Rosen Penev Date: Sat, 13 Apr 2024 21:35:46 +0000 (-0700) Subject: xxhash: build with cmake X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=72a6e17d49f07ae697d2fa33a08c02fee502f948;p=openwrt-packages.git xxhash: build with cmake Faster. Signed-off-by: Rosen Penev --- 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 -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