liborcania: Install library on target

Signed-off-by: Austin Lane <vidplace7@gmail.com>
This commit is contained in:
Austin Lane
2024-12-09 11:42:28 -05:00
committed by Josef Schlehofer
parent 0d478f6508
commit 768b995f98

View File

@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=liborcania PKG_NAME:=liborcania
PKG_VERSION:=2.3.0 PKG_VERSION:=2.3.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/babelouest/orcania/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/babelouest/orcania/tar.gz/v$(PKG_VERSION)?
@@ -35,4 +35,9 @@ define Package/liborcania/description
Potluck with different functions for different purposes that can be shared among C programs. Potluck with different functions for different purposes that can be shared among C programs.
endef endef
define Package/liborcania/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liborcania.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,liborcania)) $(eval $(call BuildPackage,liborcania))