Building avr-gcc failes because some buildbots can't connect to https://repo.voidlinux.eu/distfiles. For now mark this update as broken for those archs.
31 lines
899 B
Bash
31 lines
899 B
Bash
# Template file for 'avr-libc'
|
|
pkgname=avr-libc
|
|
version=2.0.0
|
|
revision=3
|
|
short_desc="A C library for use with GCC on Atmel AVR microcontrollers"
|
|
maintainer="allan <mail@may.mooo.com>"
|
|
license="BSD"
|
|
homepage="http://savannah.nongnu.org/projects/avr-libc/"
|
|
distfiles="$NONGNU_SITE/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97
|
|
|
|
build_style=gnu-configure
|
|
hostmakedepends="avr-binutils avr-gcc"
|
|
depends="avr-binutils avr-gcc"
|
|
nostrip=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64|i686|armv6l|armv7l)
|
|
# Temporarly mark as broken until download issues are solve
|
|
broken="Download from https://repo.voidlinux.eu/distfiles fails"
|
|
;;
|
|
esac
|
|
|
|
do_configure() {
|
|
CC=avr-gcc AR=avr-ar AS=avr-as RANLIB=avr-ranlib \
|
|
./configure --build=${XBPS_TRIPLET} --host=avr --prefix=/usr
|
|
}
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/bin/avr-man
|
|
vlicense LICENSE
|
|
}
|