summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-03-29 16:35:10 -0400
committerRick Farina <zerochaos@gentoo.org>2019-03-29 17:00:03 -0400
commit036090226ec39e0c06f39c8635c20b9f5bda5de7 (patch)
tree0ab20116613a48ca6660705dbca37ddfcb03418a /dev-embedded/freaklabs-boards
parentmedia-libs/giflib: Removed old. (diff)
downloadgentoo-036090226ec39e0c06f39c8635c20b9f5bda5de7.tar.gz
gentoo-036090226ec39e0c06f39c8635c20b9f5bda5de7.tar.bz2
gentoo-036090226ec39e0c06f39c8635c20b9f5bda5de7.zip
dev-embedded/freaklabs-boards: initial import
making freaklabs hardware easier to use Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'dev-embedded/freaklabs-boards')
-rw-r--r--dev-embedded/freaklabs-boards/Manifest1
-rw-r--r--dev-embedded/freaklabs-boards/freaklabs-boards-1.0.0.ebuild36
-rw-r--r--dev-embedded/freaklabs-boards/metadata.xml8
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-embedded/freaklabs-boards/Manifest b/dev-embedded/freaklabs-boards/Manifest
new file mode 100644
index 000000000000..8210bdf00bc6
--- /dev/null
+++ b/dev-embedded/freaklabs-boards/Manifest
@@ -0,0 +1 @@
+DIST freaklabs-v1.0.0-manual%20install.zip 123494 BLAKE2B 5ac9d31782c217f074a73bf9b3b1e832e1cea89f4f767ec01e1b3c3672bca1245adba4c8d661a7af62f306f5a104978913809b232d9287b6938f3550bc109067 SHA512 8fd265265a31c39bc4637492ff0fec564d1e9a4450a9a709adf436536c2320f14676259f70857b332c9f0e5766fa5eb3640b168f450ab8820733c2100fe4b36d
diff --git a/dev-embedded/freaklabs-boards/freaklabs-boards-1.0.0.ebuild b/dev-embedded/freaklabs-boards/freaklabs-boards-1.0.0.ebuild
new file mode 100644
index 000000000000..239d2a931c9f
--- /dev/null
+++ b/dev-embedded/freaklabs-boards/freaklabs-boards-1.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Arduino hardware definitions for freaklabs boards"
+HOMEPAGE="https://freaklabs.org/chibiarduino/"
+
+#this is for 1.0.3 from git but it doesn't seem to work
+#GIT_COMMIT="ff3ebd11934c123091d485e6dc2845d78bda4255"
+#SRC_URI="https://github.com/freaklabs/freaklabs-boards/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+#S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+S="${WORKDIR}/freaklabs-v1.0.0"
+
+SRC_URI="https://freaklabs.org/pub/chibiArduino/boards/freaklabs-v${PV}-manual%20install.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+PDEPEND="dev-embedded/arduino"
+
+src_install() {
+ insinto /usr/share/arduino/hardware/freaklabs/avr
+ doins -r avr/*
+ #non working 1.0.3
+ #doins -r boards/1.0.3/{boards.txt,platform.local.txt,variants,bootloaders}
+}
+
+pkg_postinst() {
+ ewarn "For this to work you need to install cross-avr/gcc[-ssp,-pie]"
+}
diff --git a/dev-embedded/freaklabs-boards/metadata.xml b/dev-embedded/freaklabs-boards/metadata.xml
new file mode 100644
index 000000000000..2b9b4266ca5b
--- /dev/null
+++ b/dev-embedded/freaklabs-boards/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+</pkgmetadata>