dev-embedded/arduino-mk - 1.6.0 (buzden)

Search

Install

Install this version:

emerge -a =dev-embedded/arduino-mk-1.6.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-embedded/arduino-mk-1.6.0

Or alternatively:

emerge --autounmask-write -a =dev-embedded/arduino-mk-1.6.0

Package Information

Description:
Makefile for Arduino sketches.
Homepage:
https://github.com/sudar/Arduino-Makefile
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.6.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="Arduino-Makefile"

DESCRIPTION="Makefile for Arduino sketches."
HOMEPAGE="https://github.com/sudar/Arduino-Makefile"
SRC_URI="https://github.com/sudar/${MY_PN}/archive/${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+monitor doc examples"

COMMONDEP="
dev-embedded/arduino
dev-python/pyserial"

RDEPEND="${COMMONDEP}
dev-embedded/avrdude
monitor? (
	app-misc/screen
)"

DEPEND="${COMMONDEP}"

PATCHES=(
	"${FILESDIR}/${P}-105-commits-after.patch"
	"${FILESDIR}/${P}-no-bossa-debug.patch"
)

src_unpack(){
	unpack ${A}
	cd ../"${S}"
	mv ${MY_PN}-${PV} ${PN}-${PV}
}

src_install(){
	dobin bin/*
	doman *.1

	insinto /usr/share/arduino-mk
	doins *.mk

	if use doc; then
		dodoc HISTORY.md README.md arduino-mk-vars.md
	fi
	if use examples; then
		dodoc -r examples
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-embedded/arduino-mk | euse -E <flag> -p dev-embedded/arduino-mk | euse -D <flag> -p dev-embedded/arduino-mk

Global/Standard Flags

monitor
Default: Enabled (+)
doc

Dependencies

DEPEND

dev-embedded/arduino
dev-python/pyserial

RDEPEND

dev-embedded/arduino
dev-python/pyserial
dev-embedded/avrdude
monitor? (
	app-misc/screen
)

Manifest for 1.6.0

Type File Size Source URLs
DIST 1.6.0.tar.gz 65734 bytes https://github.com/sudar/Arduino-Makefile/archive/1.6.0.tar.gz