1SUMMARY="C library for Atmel AVR microcontrollers" 2DESCRIPTION=" 3AVR Libc is a Free Software project whose goal is to provide a high quality C 4library for use with GCC on Atmel AVR microcontrollers. 5 6Together, avr-binutils, avr-gcc, and avr-libc form the heart of the Free 7Software toolchain for the Atmel AVR microcontrollers. 8" 9HOMEPAGE="https://www.nongnu.org/avr-libc/" 10LICENSE="BSD (3-clause)" 11COPYRIGHT="1999-2022 Keith Gudger, Bjoern Haase, Steinar Haugen, Peter Jansen, 12 Reinhard Jessich, Magnus Johansson, Artur Lipowski, Marek Michalkiewicz, 13 Colin O'Flynn, Bob Paddock, Reiner Patommel, Michael Rickman, 14 Theodore A. Roth, Juergen Schilling, Philip Soeberg, Anatoly Sokolov, 15 Nils Kristian Strom, Michael Stumpf, Stefan Swanepoel, Eric B. Weddington, 16 Joerg Wunsch, Dmitry Xmelkov, The Regents of the University of California." 17SOURCE_URI="http://download.savannah.gnu.org/releases/avr-libc/avr-libc-$portVersion.tar.bz2" 18CHECKSUM_SHA256="0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8" 19REVISION="1" 20ARCHITECTURES="any" 21SECONDARY_ARCHITECTURES="x86" 22 23PROVIDES=" 24 avr_libc$secondaryArchSuffix = $portVersion 25 " 26 27REQUIRES=" 28 haiku$secondaryArchSuffix 29 " 30BUILD_REQUIRES=" 31 " 32BUILD_PREREQUIRES=" 33 haiku${secondaryArchSuffix}_devel 34 cmd:autoconf 35 cmd:automake 36 cmd:autoreconf 37 cmd:avr_as >= 2.40 38 cmd:avr_gcc >= 13.1 39 cmd:libtoolize$secondaryArchSuffix 40 cmd:make 41 " 42 43SOURCE_DIR="avr-libc-$portVersion" 44 45relativeInstallDir="develop/tools/avr" 46installDir="$prefix/$relativeInstallDir" 47 48BUILD() 49{ 50 autoreconf -fi 51 runConfigure ./configure --host=avr --build=$effectiveTargetMachineTriple \ 52 --prefix=$installDir --libexecdir=$installDir/lib --mandir=$manDir \ 53 --docdir=$docDir --target=avr 54 make $jobArgs 55} 56 57INSTALL() 58{ 59 make install 60} 61