[Tinyos-commits] CVS: tinyos-1.x/tools/release/external-tools libc.spec, NONE, 1.1

Kristin Wright kristinwright at users.sourceforge.net
Wed Jun 15 14:00:10 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tools/release/external-tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27617

Added Files:
	libc.spec 
Log Message:
multi-platform, multi-target libc spec files

--- NEW FILE: libc.spec ---
# 
# The source must be in a tgz with the 
# name %{target}-%{version}-binutils.tgz.
# When unfolded, the top-level directory 
# must be %{target}-%{version}.
# 
# avr:
# target: avr
# version: 1.2.3
# release: 1
# 
# xscale-elf:
# target: xscale-elf
# version: 1.2.3
# release: 1

%define target xscale-elf
%define version 1.2.3
%define release 1
%define name     %{target}-libc
%define theprefix /usr
%define source   %{name}-%{version}.tgz

Summary: C library for the %{target} platform
Name: %{name}
Version: %{version}
Release: %{release}
Packager: TinyOS Group, UC Berkeley
License: GNU GPL-compatible
Group: Development/Tools
URL: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/
Source0: %{source}
BuildRoot: %{_tmppath}/%{name}-root

%description
C library for the %{target} platform.

%prep
%setup -q

%build
./doconf --prefix=%{theprefix}
cd build
make

%install
rm -rf %{buildroot}%{theprefix}
cd build
make prefix=%{buildroot}%{theprefix} install

%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}

%files
%{theprefix}
%defattr(-,root,root,-)
%doc


%changelog
* Fri Mar 10 2005 root <kwright at cs.berkeley.edu> 1.2.3-1
- Initial version for multi-platform, multi-target






More information about the Tinyos-commits mailing list