Commit 4f3cf56a authored by Kawin Nikomborirak's avatar Kawin Nikomborirak

Add arduino-mk

parent 6e13104f
DIST 1.6.0.tar.gz 65734 BLAKE2B 7a623ff931fd459bb3e825c7a50df2b9affccbaf69738f8d661f10851f34a3d622938c9ec9aa46a025e72b245ed574c192245d2fa84632b6eca03fb0807380db SHA512 614f9e93f7127cafbee80d665fdbcd2ae1ce79204c3deefd2d601327a8d8a5637462b58feab9fd8ad540af99b1b7ffc8e81b03c25a6df614589c632270236e16
EBUILD arduino-mk-1.6.0.ebuild 871 BLAKE2B 3bce2eac3deb9576a45432529372a8a8b61ea7de980dd0fa634ff647a4f92cb24388582c3a6eb2cb8bd52f3766bc23e4f3180ccdf22b72b4ab6d065c0e5fdfb0 SHA512 96052c817dd5bbb8aaa4dc084f49163645b2becd8134ffc03397b24d37289e7af728b11cdb9f1d73853927a5c004db4536de4944f4e6951b1377e967b23dc784
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
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="doc examples"
COMMONDEP="
dev-embedded/arduino
dev-python/pyserial"
RDEPEND="${COMMONDEP}
dev-embedded/avrdude"
DEPEND="${COMMONDEP}"
src_unpack(){
unpack ${A}
cd ../"${S}"
mv ${MY_PN}-${PV} ${PN}-${PV}
}
src_install(){
dobin bin/ard-reset-arduino
insinto /usr/share/arduino
doins Arduino.mk Common.mk arduino-mk-vars.md chipKIT.mk
if use doc; then
dodoc HISTORY.md ard-reset-arduino.1 README.md
fi
if use examples; then
insinto /usr/share/doc/"${P}"/
doins -r examples
fi
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment