Репозиторий Sisyphus
Последнее обновление: 13 октября 2019 | Пакетов: 17515 | Посещений: 15262685
en ru br
Репозитории ALT
S:2.0.0-alt6_6
5.1: 1.6.7-alt1
4.1: 1.6.1-alt1
4.0: 1.4.4-alt1
3.0: 1.2.3-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: avr-libc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# -*- rpm-spec -*-
# $Id: avr-libc,v 1.33 2005/06/03 10:59:46 grigory Exp $

%define cross_arch avr

Summary: AVR libc
Name: avr-libc
Version: 1.6.7
Release: alt1
Serial: 1
License: GPL, LGPL, BSD, Public Domain
Group: Development/Other
URL: http://savannah.gnu.org/projects/avr-libc

Source0: http://savannah.gnu.org/download/avr-libc/avr-libc-%version.tar.bz2

# Automatically added by buildreq on Sun Nov 29 2009

BuildRequires: azenis-fonts-ttf cm-super-fonts-pfb doxygen
Buildrequires: netpbm tetex-core transfig ghostscript-classic

BuildRequires: avr-binutils >= 2.18
BuildRequires: avr-gcc >= 4.2
BuildRequires: avr-gcc-c++ >= 4.2

Requires: avr-binutils >= 2.18
Requires: avr-gcc >= 4.2
Requires: avr-gcc-c++ >= 4.2

%define libavrdir %_libdir/%cross_arch
%define includeavrdir %_includedir/%cross_arch

%description
Avr-libc is a C library for developing applications for Atmel AVR microcontrollers.

%package doc
Summary: Documentation for avr-libc
Group: Development/Other
%description doc
Documentation for avr-libc in html, postscript and pdf formats.


%prep
%setup -q -n %name-%version

%build
./configure \
--host=avr \
--build=$(./config.guess) \
--prefix=%_prefix \
--exec-prefix=%libavrdir \
--libdir=%_libdir \
--includedir=%includeavrdir \
--mandir=%_mandir \
--infodir=%_infodir \
--enable-doc --disable-versioned-doc --disable-pdf-doc

%__make

%install
%__make \
prefix=%buildroot%_prefix \
exec_prefix=%buildroot%_libdir \
mandir=%buildroot%_mandir \
infodir=%buildroot%_infodir \
libdir=%buildroot%_libdir \
includedir=%buildroot%includeavrdir \
install

# Move lib and include files from /usr/avr -> /usr/lib/avr

%__mkdir_p %buildroot%_libdir
%__mv %buildroot%_prefix/avr %buildroot%_libdir/

%files
%doc AUTHORS ChangeLog INSTALL LICENSE NEWS README
%doc doc/CHANGES.old doc/ChangeLog doc/INSTALL doc/TODO
%libavrdir/include/*
%libavrdir/lib/*

%files doc
%_bindir/*
%_datadir/doc/avr-libc/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin