mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-embedded/arduino-cli: new package, add 0.34.2
Signed-off-by: Artemis Everfree <artemis@artemis.sh>
This commit is contained in:
26
dev-embedded/arduino-cli/arduino-cli-0.34.2.ebuild
Normal file
26
dev-embedded/arduino-cli/arduino-cli-0.34.2.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Next-generation arduino command line tool"
|
||||
HOMEPAGE="https://arduino.github.io/arduino-cli/latest/"
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/arduino/arduino-cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://pkg.artemis.sh/gentoo/pkg-deps/dev-embedded/arduino-cli/${P}-vendor.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 GPL-2 GPL-3 LGPL-3 MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
src_compile() {
|
||||
ego build -tags xversion \
|
||||
-ldflags "-X github.com/arduino/arduino-cli/version.versionString=${PV}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin arduino-cli
|
||||
}
|
||||
Reference in New Issue
Block a user