liborcania: Install library on target
authorAustin Lane <vidplace7@gmail.com>
Mon, 9 Dec 2024 16:42:28 +0000 (11:42 -0500)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 17 Dec 2024 07:42:26 +0000 (08:42 +0100)
Signed-off-by: Austin Lane <vidplace7@gmail.com>
libs/liborcania/Makefile

index 7591b46f58fbb3e08c8711ede7d9888cce08a5ee..de70b0600eb555968fff1f67777e5fb9bfadd21f 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=liborcania
 PKG_VERSION:=2.3.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 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.
 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))