summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/avra/Manifest1
-rw-r--r--dev-embedded/avra/avra-1.4.0.ebuild21
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-embedded/avra/Manifest b/dev-embedded/avra/Manifest
index 8d5bd37ee3d8..5e305e46d96a 100644
--- a/dev-embedded/avra/Manifest
+++ b/dev-embedded/avra/Manifest
@@ -1 +1,2 @@
DIST avra-1.3.0.tar.bz2 314903 BLAKE2B f5eb831bf997ab22b8e40cc90eb7b769d008461550ecce2fc139f99cf9b76511e2f5ca078d82bb9d6526ad7b9e1497dac369a29a4d0eae3a01e19af177857ed9 SHA512 4215b87379a6c2a9b81048dfd717a05881e2dc38359e49812be44bb64ac3e45911367fdf73f0c9f753e67e9ea23d19f33365dc4140ec94d13f1d8077b978fb93
+DIST avra-1.4.0.tar.gz 380256 BLAKE2B 7864261d230ecb1c28377856db24481ef40933e9ac15cf00523f0edb53e9d0beb8d4966d90d80d775c43ae1870a39bbfb6586580d87916bba23457e97027169e SHA512 1df07ebcefc24f91dbf18c489baff314683ff5cde7cd87ea6aae5d0fddbd1e6d64016c100378e9fede414036bb1ffbc03584b35100575ec50a27ace44b22a0e9
diff --git a/dev-embedded/avra/avra-1.4.0.ebuild b/dev-embedded/avra/avra-1.4.0.ebuild
new file mode 100644
index 000000000000..be6fdfe16542
--- /dev/null
+++ b/dev-embedded/avra/avra-1.4.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Atmel AVR Assembler"
+HOMEPAGE="https://github.com/hsoft/avra"
+SRC_URI="https://github.com/hsoft/avra/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+src_compile() {
+ emake PREFIX=/usr CFLAGS="${CFLAGS} \$(CDEFS)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${ED}" install
+ dodoc {AUTHORS,CHANGELOG.md,README.md,USAGE.md}
+}