From 6c62e0fcfecf5a322cba368e5410f5e2f693b411 Mon Sep 17 00:00:00 2001 From: Austin Lane Date: Mon, 9 Dec 2024 12:46:03 -0500 Subject: [PATCH] libulfius: Install library on target Signed-off-by: Austin Lane --- libs/libulfius/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/libulfius/Makefile b/libs/libulfius/Makefile index 6512da8d1c..e08761d70b 100644 --- a/libs/libulfius/Makefile +++ b/libs/libulfius/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libulfius PKG_VERSION:=2.7.10 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/babelouest/ulfius/tar.gz/v$(PKG_VERSION)? @@ -60,5 +60,13 @@ else CMAKE_OPTIONS += -DWITH_GNUTLS=OFF endif +define Package/libulfius/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libulfius.so* $(1)/usr/lib/ +endef + +Package/libulfius-nossl/install = $(Package/libulfius/install) +Package/libulfius-gnutls/install = $(Package/libulfius/install) + $(eval $(call BuildPackage,libulfius-gnutls)) $(eval $(call BuildPackage,libulfius-nossl)) -- 2.30.2