From: Austin Lane Date: Mon, 9 Dec 2024 17:46:03 +0000 (-0500) Subject: libulfius: Install library on target X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6c62e0fcfecf5a322cba368e5410f5e2f693b411;p=feed%2Fpackages.git libulfius: Install library on target Signed-off-by: Austin Lane --- 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))