From e196e37b5fce4ba508527650552ef09201ca4179 Mon Sep 17 00:00:00 2001 From: allan Date: Fri, 16 Jan 2015 14:14:55 +0100 Subject: [PATCH] New package: avr-libc-1.8.1 --- srcpkgs/avr-libc/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/avr-libc/template diff --git a/srcpkgs/avr-libc/template b/srcpkgs/avr-libc/template new file mode 100644 index 00000000000..6da56d2a87a --- /dev/null +++ b/srcpkgs/avr-libc/template @@ -0,0 +1,21 @@ +# Template file for 'avr-libc' +pkgname=avr-libc +version=1.8.1 +revision=1 +short_desc="A C library for use with GCC on Atmel AVR microcontrollers" +maintainer="allan " +license="BSD" +homepage="http://savannah.nongnu.org/projects/avr-libc/" +distfiles="$NONGNU_SITE/$pkgname/$pkgname-$version.tar.bz2" +checksum=c3062a481b6b2c6959dc708571c00b0e26301897ba21171ed92acd0af7c4a969 +only_for_archs="i686 x86_64" + +build_style=gnu-configure +hostmakedepends="avr-binutils avr-gcc" +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 +}