# -*- 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
# $Id: Portfile 79050 2011-05-31 08:44:16Z ryandesign@macports.org $

PortSystem              1.0

name                    avr-libc
version                 1.7.1
categories              cross
maintainers             v9g.de:tvb377
supported_archs         noarch

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.
platforms               darwin
homepage                http://www.nongnu.org/avr-libc/
master_sites            http://download.savannah.gnu.org/releases/avr-libc/

# installs deliberately files outside regular tree:
destroot.violate_mtree  yes                                                                                                                           

use_bzip2               yes
checksums               sha1   8ac3f03229101c427aa90f8293ddabde6c3a6f87 \
                        rmd160 5eb77da24c267d5d11d3e6d8477029b7614307dc

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\]+)
