luv: Update to 1.22.0-1
authorRosen Penev <rosenp@gmail.com>
Sun, 16 Dec 2018 06:49:16 +0000 (22:49 -0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 16 Dec 2018 06:55:34 +0000 (22:55 -0800)
Switched to tarball and rearranged Makefile for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lang/luv/Makefile

index 1c54f29bb3ad5c0b6c18d0ba949d308549136951..823885528559ab4bed3685c7ad70f2f10ca226d2 100644 (file)
@@ -1,19 +1,17 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=luv
+PKG_VERSION:=1.22.0-1
 PKG_RELEASE:=1
 
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/luvit/luv.git
-PKG_MIRROR_HASH:=28a4e5f115dacd3b293522bea211576d6bf0519c79971a3dee56632d04a13cb3
-PKG_SOURCE_VERSION:=1.9.1-1
-PKG_SOURCE_DATE:=2016-12-16
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/luvit/luv/releases/download/$(PKG_VERSION)
+PKG_HASH:=27886acb3d3f531a3d6ca70360d2593ddf1a8d4daf94ca3beea14d9381227ff7
 
+PKG_MAINTAINER:=Morteza Milani <milani@pichak.co>
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_USE_MIPS16:=0
-
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 
@@ -23,7 +21,6 @@ define Package/luv
   CATEGORY:=Languages
   TITLE:=Luv
   URL:=https://github.com/luvit/luv
-  MAINTAINER:=Morteza Milani <milani@pichak.co>
   DEPENDS:=+libuv +!LUV_USE_LUAJIT_ENGINE:lua
 endef