Skip to content

Commit

Permalink
libulfius: Install library on target
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Lane <[email protected]>
  • Loading branch information
vidplace7 committed Dec 17, 2024
1 parent de758f9 commit 5f36fd1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libs/libulfius/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)?
Expand Down Expand Up @@ -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))

0 comments on commit 5f36fd1

Please sign in to comment.