mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
33 lines
926 B
Text
33 lines
926 B
Text
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
pkgname=avr-libc
|
|
pkgver=2.2.1
|
|
pkgrel=0
|
|
pkgdesc="The C runtime library for the AVR family of microcontrollers"
|
|
url="https://github.com/avrdudes/avr-libc"
|
|
depends="gcc-avr"
|
|
makedepends="autoconf automake python3"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
subpackages="$pkgname-doc"
|
|
builddir="$srcdir/$pkgname-$pkgname-${pkgver//./_}-release"
|
|
source="
|
|
avr-libc-$pkgver.tar.gz::https://github.com/avrdudes/avr-libc/archive/refs/tags/avr-libc-${pkgver//./_}-release.tar.gz
|
|
"
|
|
|
|
build() {
|
|
./bootstrap
|
|
CC=avr-gcc ./configure \
|
|
--build="$(/bin/sh config.guess)" \
|
|
--host=avr \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
df87983efff438091cff86d65b8e9ca6c3919d8242f0204fdcff7ad3852a094a8a56e9df1d0468d3efaa386b638d2d028dea691290e841b7e4da8652dd46b73c avr-libc-2.2.1.tar.gz
|
|
"
|