# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name avr-libc version 2.1.0 categories cross maintainers nomaintainer supported_archs noarch license BSD description C library for the AVR microcontroller. long_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. homepage https://www.nongnu.org/avr-libc/ master_sites https://download.savannah.gnu.org/releases/avr-libc/ # installs deliberately files outside regular tree: destroot.violate_mtree yes use_bzip2 yes checksums rmd160 7e836c6bac97265cca80083be81264048fc425ec \ sha256 0b84cee5c08b5d5cba67c36125e5aaa85251bc9accfba5773bfa87bc34b654e8 \ size 3638672 depends_lib port:gettext \ port:avr-gcc configure.args --host=avr --build=`./config.guess` configure.cc avr-gcc livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[1-9\]\\.\[0-9\]+\\.\[0-9\]+) depends_build-append port:automake post-patch { # Update config.guess and config.sub to be able to build on arm64. This also # allows x86_64 to be detected properly (instead of as i386), although that # problem did not impair the build on x86_64. set automake_dirs [glob -directory ${prefix}/share automake-*] set automake_dir [lindex [lsort -command vercmp $automake_dirs] end] copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \ ${worksrcpath} }