Subject: [alpine-aports] [PATCH] testing/avarice: New aport

From: Marian Buschsieweke <[email-masked]>
Date: Wed, 27 Mar 2019 14:50:53 +0100

AVaRICE interfaces with GDB and allows debugging of AVR MCUs
http://avarice.sourceforge.net/
---
 testing/avarice/APKBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 testing/avarice/APKBUILD

diff --git a/testing/avarice/APKBUILD b/testing/avarice/APKBUILD
new file mode 100644
index 0000000000..8e44c8d467
--- /dev/null
+++ b/testing/avarice/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Marian Buschsieweke <[email-masked]>
+pkgname=avarice
+pkgver=375
+pkgrel=0
+pkgdesc="AVaRICE interfaces with GDB and allows debugging of AVR MCUs"
+url="http://avarice.sourceforge.net/"
+arch="all"
+license="GPL-2.0-only"
+makedepends="binutils-dev libusb-dev libusb-compat-dev autoconf automake"
+depends="gdb-avr"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.zip::https://sourceforge.net/code-snapshots/svn/${pkgname:0:1}/${pkgname:0:2}/${pkgname}/code/${pkgname}-code-r${pkgver}-trunk.zip"
+builddir="$srcdir/$pkgname-code-r${pkgver}-trunk/$pkgname"
+
+build() {
+	cd "$builddir"
+	./Bootstrap
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr
+	make
+}
+
+check() {
+	cd "$builddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="dcf488dddd1ce479a085c4fee4de94b521122ab262e6b6fb92d387079d2cfc445fbccf39aeecbd24cdd6fb75a4995bd2037245ebb187f01da05a61c2876e566f  avarice-375.zip"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Leonardo <[email-masked]>
Date: Wed, 3 Apr 2019 15:19:56 +0200

Hi,

>   create mode 100644 testing/avarice/APKBUILD

the source url does not appear correct (404 not found).

I guess we can't use a tagged release, right?

Thanks!

/eo

---