avr-libc: update to 2.0.0

This commit is contained in:
allan 2016-03-09 14:23:09 +01:00
parent b9ce858be4
commit 74a1306e15

View file

@ -1,13 +1,13 @@
# Template file for 'avr-libc'
pkgname=avr-libc
version=1.8.1
version=2.0.0
revision=1
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=c3062a481b6b2c6959dc708571c00b0e26301897ba21171ed92acd0af7c4a969
checksum=b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97
only_for_archs="i686 x86_64"
build_style=gnu-configure
@ -16,6 +16,10 @@ depends="avr-binutils avr-gcc"
nostrip=yes
do_configure() {
CC=avr-gcc CC_FOR_BUILD=avr-gcc AR=avr-ar AS=avr-as RANLIB=avr-ranlib \
./configure --host=avr --prefix=/usr
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
}