mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
60 lines
1.7 KiB
Bash
60 lines
1.7 KiB
Bash
SUMMARY="C library for Atmel AVR microcontrollers"
|
|
DESCRIPTION="
|
|
AVR Libc is a Free Software project whose goal is to provide a high quality C
|
|
library for use with GCC on Atmel AVR microcontrollers.
|
|
|
|
Together, avr-binutils, avr-gcc, and avr-libc form the heart of the Free
|
|
Software toolchain for the Atmel AVR microcontrollers.
|
|
"
|
|
HOMEPAGE="http://www.nongnu.org/avr-libc/"
|
|
LICENSE="BSD (3-clause)"
|
|
COPYRIGHT="1999-2005 Keith Gudger, Bjoern Haase, Steinar Haugen, Peter Jansen, \
|
|
Reinhard Jessich, Magnus Johansson, Artur Lipowski, Marek Michalkiewicz, \
|
|
Colin O'Flynn, Bob Paddock, Reiner Patommel, Michael Rickman, \
|
|
Theodore A. Roth, Juergen Schilling, Philip Soeberg, Anatoly Sokolov, \
|
|
Nils Kristian Strom, Michael Stumpf, Stefan Swanepoel, Eric B. Weddington, \
|
|
Joerg Wunsch, Dmitry Xmelkov, The Regents of the University of California."
|
|
SOURCE_URI="http://download.savannah.gnu.org/releases/avr-libc/avr-libc-1.8.0.tar.bz2"
|
|
CHECKSUM_SHA256="67a36bdb43a16f9b0512ba09584d4785f9bce6c057393f1020a5552e096e34ce"
|
|
REVISION="2"
|
|
ARCHITECTURES="any"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
avr_libc$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:avr_as$secondaryArchSuffix
|
|
cmd:avr_gcc$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
"
|
|
|
|
SOURCE_DIR="avr-libc-$portVersion"
|
|
|
|
relativeInstallDir="develop/tools/avr"
|
|
installDir="$prefix/$relativeInstallDir"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
runConfigure ./configure --host=avr --build=$effectiveTargetMachineTriple \
|
|
--prefix=$installDir --libexecdir=$installDir/lib --mandir=$manDir \
|
|
--docdir=$docDir --target=avr
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|