libulfius: Install library on target
authorAustin Lane <vidplace7@gmail.com>
Mon, 9 Dec 2024 17:46:03 +0000 (12:46 -0500)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 19 Dec 2024 08:29:53 +0000 (10:29 +0200)
Signed-off-by: Austin Lane <vidplace7@gmail.com>
libs/libulfius/Makefile

index 6512da8d1c46497f112bd931785d6db8eee84ea7..e08761d70b21b6665d22868fd95170b7ecd6743b 100644 (file)
@@ -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))