1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name avr-libc-atmel |
---|
7 | version 1.8.0 |
---|
8 | categories cross |
---|
9 | maintainers gmail.com:bbandi86 |
---|
10 | license BSD |
---|
11 | |
---|
12 | description C library for the AVR microcontroller with Atmel patches. |
---|
13 | long_description AVR Libc is a Free Software project whose goal is \ |
---|
14 | to provide a high quality C library for use with \ |
---|
15 | GCC on Atmel AVR microcontrollers. This version is patched \ |
---|
16 | by Atmel. |
---|
17 | |
---|
18 | homepage http://www.atmel.com/tools/ATMELAVRTOOLCHAINFORWINDOWS.aspx |
---|
19 | |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | license BSD |
---|
23 | |
---|
24 | master_sites http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.4.4/ |
---|
25 | |
---|
26 | # installs deliberately files outside regular tree: |
---|
27 | destroot.violate_mtree yes |
---|
28 | |
---|
29 | use_bzip2 yes |
---|
30 | distname avr-libc-${version} |
---|
31 | distfiles ${distname}${extract.suffix} |
---|
32 | |
---|
33 | checksums avr-libc-1.8.0.tar.bz2 \ |
---|
34 | rmd160 2d8c9028c6a3314a9b45301562687109e3d489b3 \ |
---|
35 | sha256 3520174f061f36512c0a4e7e124183557f6c561d39040f41821962f342f33f47 |
---|
36 | |
---|
37 | conflicts avr-libc |
---|
38 | |
---|
39 | depends_build port:autoconf \ |
---|
40 | port:automake |
---|
41 | |
---|
42 | depends_lib port:gettext \ |
---|
43 | port:avr-gcc-atmel |
---|
44 | |
---|
45 | |
---|
46 | worksrcdir libc/avr-libc |
---|
47 | |
---|
48 | |
---|
49 | pre-configure { |
---|
50 | system " |
---|
51 | pushd ${worksrcpath} |
---|
52 | ./bootstrap |
---|
53 | popd |
---|
54 | " |
---|
55 | } |
---|
56 | |
---|
57 | configure.args --host=avr --build=`./config.guess` --disable-versioned-doc --prefix=${prefix} |
---|
58 | configure.cc avr-gcc |
---|
59 | |
---|
60 | destroot.args tooldir=${prefix} |
---|