summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-06 08:45:37 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-11-12 09:51:48 +0200
commit6c2dc5c1486bb04299804a4d923948d983d9f54a (patch)
tree35bd20c6b3d83980c5318a198e22145cddfefc36 /dev-embedded/avra
parentdev-embedded/avra: fix CC call (diff)
downloadgentoo-6c2dc5c1486bb04299804a4d923948d983d9f54a.tar.gz
gentoo-6c2dc5c1486bb04299804a4d923948d983d9f54a.tar.bz2
gentoo-6c2dc5c1486bb04299804a4d923948d983d9f54a.zip
dev-embedded/avra: bump to 1.4.2
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-embedded/avra')
-rw-r--r--dev-embedded/avra/Manifest1
-rw-r--r--dev-embedded/avra/avra-1.4.2.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-embedded/avra/Manifest b/dev-embedded/avra/Manifest
index 6a1d977193da..6f1901a20c67 100644
--- a/dev-embedded/avra/Manifest
+++ b/dev-embedded/avra/Manifest
@@ -1 +1,2 @@
DIST avra-1.4.1.tar.gz 386055 BLAKE2B 64bf96e6fac6e04869e94ae2cac81fc0c67f871abc2ad0e2728bf5530f53e8ff9ce9e0119edfc8d39187ca2e8e5a58922aa0e8d0ea7d91b730965fef365c0c25 SHA512 2ee5edb6f8b2a39d1197970121ce3313f99b2137c590ab963f6943958d3a761f4bb37b80d54f727e1a4a4afc62ea4ac576af9ef85a71f741739a6ce4a60a9a1c
+DIST avra-1.4.2.tar.gz 392445 BLAKE2B 6b556583838e0e5bef0207f7291da7c5e6dad01e695d9592b3de8f528bc7a5dafc3015f75934bcc8f9e0b6baca39ff0ae13c88ee290e657868bbb522d27da068 SHA512 f51a43b1b28102d6180ce27e74b50642de8f3d18fa35a82904fddaac993e87e1096667f2245bebfad92e4ba3283330f6ac4b6083e486be5af9edca7b7e90e56f
diff --git a/dev-embedded/avra/avra-1.4.2.ebuild b/dev-embedded/avra/avra-1.4.2.ebuild
new file mode 100644
index 000000000000..0278a2c6bc59
--- /dev/null
+++ b/dev-embedded/avra/avra-1.4.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+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 \
+ CC=$(tc-getCC) \
+ PREFIX=/usr \
+ CFLAGS="${CFLAGS} \$(CDEFS)" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${ED}" install
+ dodoc {AUTHORS,CHANGELOG.md,README.md,USAGE.md}
+}