node-cylon: add proper download path and set version properly
authorJohn Crispin <blogic@openwrt.org>
Mon, 19 Oct 2015 13:47:40 +0000 (15:47 +0200)
committerJohn Crispin <blogic@openwrt.org>
Mon, 19 Oct 2015 13:57:05 +0000 (15:57 +0200)
* fix version
* fix download path
* fix version variables

Signed-off-by: John Crispin <blogic@openwrt.org>
lang/node-cylon/Makefile

index 3f77dcdc90cd8f9c432c6e6ef968840784a5d65c..753ae2319b103e392297c8cf63c915cc2fcd3453 100644 (file)
@@ -9,17 +9,21 @@ include $(TOPDIR)/rules.mk
 
 PKG_NPM_NAME:=cylon
 PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.1.0
+PKG_VERSION:=0.22.0
 PKG_RELEASE:=1
 
-PKG_SOURCE:=v0.22.0.tar.gz
-PKG_SOURCE_URL:=https://github.com/hybridgroup/cylon-firmata/archive/
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/hybridgroup/cylon-firmata.git
+PKG_SOURCE_VERSION:=0c37da77e48b3e2cc3a8d566822a17689de91b40
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
 
 PKG_BUILD_DEPENDS:=node
 PKG_NODE_VERSION:=0.12.7
 
 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
 PKG_LICENSE:=Apache-2.0
+PKG_LICENSE_FILE:=LICENSE
 
 include $(INCLUDE_DIR)/package.mk