Browse Source

node-arduino-firmata: set proper download path and set version properly

* fix download path
* fix version variables

Signed-off-by: John Crispin <blogic@openwrt.org>
John Crispin 9 years ago
parent
commit
2c82144c59
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      lang/node-arduino-firmata/Makefile

+ 7
- 3
lang/node-arduino-firmata/Makefile View File

12
 PKG_VERSION:=0.3.3
12
 PKG_VERSION:=0.3.3
13
 PKG_RELEASE:=1
13
 PKG_RELEASE:=1
14
 
14
 
15
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
16
-PKG_SOURCE_URL:=https://github.com/shokai/node-arduino-firmata/archive/
15
+PKG_SOURCE_PROTO:=git
16
+PKG_SOURCE_URL:=https://github.com/shokai/node-arduino-firmata.git
17
+PKG_SOURCE_VERSION:=16e76007edf218d72df590adbd711ac6b7432845
18
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
19
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
17
 
20
 
18
 PKG_BUILD_DEPENDS:=node
21
 PKG_BUILD_DEPENDS:=node
19
 PKG_NODE_VERSION:=0.12.7
22
 PKG_NODE_VERSION:=0.12.7
20
 
23
 
21
 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
24
 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
22
-PKG_LICENSE:=
25
+PKG_LICENSE:=MIT
26
+PKG_LICENSE_FILE:=LICENSE.txt
23
 
27
 
24
 include $(INCLUDE_DIR)/package.mk
28
 include $(INCLUDE_DIR)/package.mk
25
 
29