node-arduino-firmata: set proper download path and set version properly
authorJohn Crispin <redacted>
Mon, 19 Oct 2015 13:46:03 +0000 (15:46 +0200)
committerJohn Crispin <redacted>
Mon, 19 Oct 2015 13:56:37 +0000 (15:56 +0200)
* fix download path
* fix version variables

Signed-off-by: John Crispin <redacted>
lang/node-arduino-firmata/Makefile

index a34c2ceb894a980706b599130513a45ad8173660..aced0701287475e245a185f969b71232cf3ee6e0 100644 (file)
@@ -12,14 +12,18 @@ PKG_NAME:=node-$(PKG_NPM_NAME)
 PKG_VERSION:=0.3.3
 PKG_RELEASE:=1
 
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/shokai/node-arduino-firmata/archive/
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/shokai/node-arduino-firmata.git
+PKG_SOURCE_VERSION:=16e76007edf218d72df590adbd711ac6b7432845
+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:=
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILE:=LICENSE.txt
 
 include $(INCLUDE_DIR)/package.mk
 
git clone https://git.99rst.org/PROJECT