aboutsummaryrefslogtreecommitdiff
path: root/lang/lua-ev/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-03-14 16:44:24 -0700
committerRosen Penev <rosenp@gmail.com>2021-03-14 16:44:24 -0700
commit469955af89f9ea9a23cbd66eb33956a94b827a42 (patch)
treeb860934ba6877ad4ad8d3071b1f84055a30b99ba /lang/lua-ev/Makefile
parentd073ecbcbe3cf61b928511f75ada4462e8a488e4 (diff)
lua-ev: update to 1.5
Use AUTORELEASE for simplicity Switch to compilation with ninja as it's faster. Use the proper install paths to install ev.so Use codeload for simplicity. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang/lua-ev/Makefile')
-rw-r--r--lang/lua-ev/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/lang/lua-ev/Makefile b/lang/lua-ev/Makefile
index 42d323e97..5c1f9dfc9 100644
--- a/lang/lua-ev/Makefile
+++ b/lang/lua-ev/Makefile
@@ -8,21 +8,19 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=lua-ev
-PKG_RELEASE:=1
+PKG_VERSION:=1.5
+PKG_RELEASE:=$(AUTORELEASE)
-PKG_SOURCE_URL=https://github.com/brimworks/lua-ev.git
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE=2015-8-4
-PKG_SOURCE_VERSION:=339426fbe528f11cb3cd1af69a88f06bba367981
-PKG_MIRROR_HASH:=fe138f05845d549998443628e1b63e07d797977548a30e75305085cca4b25567
-
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/brimworks/lua-ev/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=26ac116722a241bf59daf5315ce0ffe751c1babea9a146ffc0a389f1af3facca
PKG_MAINTAINER:=Jianhui Zhao <jianhuizhao329@gmail.com>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
+include ../../devel/ninja/ninja-cmake.mk
define Package/lua-ev
SUBMENU:=Lua
@@ -39,7 +37,7 @@ endef
define Package/lua-ev/install
$(INSTALL_DIR) $(1)/usr/lib/lua
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/ev.so $(1)/usr/lib/lua
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/lua/cmod/ev.so $(1)/usr/lib/lua
endef
$(eval $(call BuildPackage,lua-ev))