Tool for performing OTA updates on Arduino boards and the ESP8266.
WWW: https://www.arduino.cc PR: 217842 Submitted by: bsdports@kyle-evans.net
This commit is contained in:
parent
29f7a6a4fb
commit
3343e9e607
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436513
4 changed files with 36 additions and 0 deletions
|
@ -106,6 +106,7 @@
|
||||||
SUBDIR += arduino-sevseg
|
SUBDIR += arduino-sevseg
|
||||||
SUBDIR += arduino-tools
|
SUBDIR += arduino-tools
|
||||||
SUBDIR += arduino16
|
SUBDIR += arduino16
|
||||||
|
SUBDIR += arduinoOTA
|
||||||
SUBDIR += argdata
|
SUBDIR += argdata
|
||||||
SUBDIR += argouml
|
SUBDIR += argouml
|
||||||
SUBDIR += argp-standalone
|
SUBDIR += argp-standalone
|
||||||
|
|
29
devel/arduinoOTA/Makefile
Normal file
29
devel/arduinoOTA/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= arduinoOTA
|
||||||
|
PORTVERSION= 1.2.0
|
||||||
|
CATEGORIES= devel
|
||||||
|
|
||||||
|
MAINTAINER= bsdports@kyle-evans.net
|
||||||
|
COMMENT= OTA upload tool for Arduino/ESP8266
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
BUILD_DEPENDS= go:lang/go
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= arduino
|
||||||
|
GH_TAGNAME= c2b8306
|
||||||
|
|
||||||
|
PLIST_FILES= bin/${PORTNAME}
|
||||||
|
COMPILEINFO= ${OPSYS}${OSREL}-${ARCH}-${GH_TAGNAME}
|
||||||
|
|
||||||
|
STRIP= # stripping can break go binaries
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
(cd ${WRKSRC} && ${SETENV} ${GO_ENV} go build -o ${PORTNAME} -ldflags "-X main.compileInfo=${COMPILEINFO}" main.go)
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
devel/arduinoOTA/distinfo
Normal file
3
devel/arduinoOTA/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1489629303
|
||||||
|
SHA256 (arduino-arduinoOTA-1.2.0-c2b8306_GH0.tar.gz) = aa4ab21ce1d906793a4b9e1286fd4d38b2d255aa4a42111460c96bbe6d79b3b7
|
||||||
|
SIZE (arduino-arduinoOTA-1.2.0-c2b8306_GH0.tar.gz) = 2549
|
3
devel/arduinoOTA/pkg-descr
Normal file
3
devel/arduinoOTA/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Tool for performing OTA updates on Arduino boards and the ESP8266.
|
||||||
|
|
||||||
|
WWW: https://www.arduino.cc
|
Loading…
Reference in a new issue