aboutsummaryrefslogtreecommitdiff
path: root/lang/luv
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-03-20 18:33:01 -0700
committerRosen Penev <rosenp@gmail.com>2021-03-26 11:25:10 -0700
commitcf4e026e2636072149893aa016eb5e08c8af6566 (patch)
tree2e0f34a3937268ffbf2c536790e69b6969da5bca /lang/luv
parentbe179a8855029a504233e06b6cc0130b74930513 (diff)
luv: update to 1.36.0-0
Switch to AUTORELEASE for simplicity. Switch to building with Ninja for faster compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang/luv')
-rw-r--r--lang/luv/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/lang/luv/Makefile b/lang/luv/Makefile
index 823885528..d8be8a497 100644
--- a/lang/luv/Makefile
+++ b/lang/luv/Makefile
@@ -1,19 +1,21 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luv
-PKG_VERSION:=1.22.0-1
-PKG_RELEASE:=1
+PKG_VERSION:=1.36.0-0
+PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/luvit/luv/releases/download/$(PKG_VERSION)
-PKG_HASH:=27886acb3d3f531a3d6ca70360d2593ddf1a8d4daf94ca3beea14d9381227ff7
+PKG_HASH:=f2e7eb372574f25c6978c1dc74280d22efdcd7df2dda4a286c7fe7dceda26445
PKG_MAINTAINER:=Morteza Milani <milani@pichak.co>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
+CMAKE_INSTALL:=1
+
include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
+include ../../devel/ninja/ninja-cmake.mk
define Package/luv
SUBMENU:=Lua
@@ -43,16 +45,9 @@ else
CMAKE_OPTIONS += -DWITH_LUA_ENGINE=Lua
endif
-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/include/luv
- $(CP) $(PKG_INSTALL_DIR)/usr/include/luv/*.h $(1)/usr/include/luv
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
-endef
-
define Package/luv/install
$(INSTALL_DIR) $(1)/usr/lib/lua
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libluv.so.1.9.1 $(1)/usr/lib/lua/luv.so
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libluv.so.1.36.0 $(1)/usr/lib/lua/luv.so
endef