diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-05-10 03:12:31 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-05-10 03:12:31 +0000 |
commit | 77d17fff71764c904c121cfcfdef3a86cbc03076 (patch) | |
tree | 2e997f5674620892a66317806ae70c9336da9d26 /contrib | |
parent | BuildRequire: m4 > 1.4.5 (diff) | |
download | rtems-77d17fff71764c904c121cfcfdef3a86cbc03076.tar.bz2 |
New.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/cygwin/i686/expat.add | 38 | ||||
-rw-r--r-- | contrib/crossrpms/cygwin/i686/target-expat.add | 6 |
2 files changed, 44 insertions, 0 deletions
diff --git a/contrib/crossrpms/cygwin/i686/expat.add b/contrib/crossrpms/cygwin/i686/expat.add new file mode 100644 index 0000000000..1f2e73f5aa --- /dev/null +++ b/contrib/crossrpms/cygwin/i686/expat.add @@ -0,0 +1,38 @@ +%define expat_version @EXPAT_VERS@ +%define expat_rpmvers %{expand:%(echo @EXPAT_VERS@ | tr - _)} + +Name: @rpmprefix@@tool_target@-expat +Release: @EXPAT_RPMREL@ +License: GPL +Group: Development/Tools + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Version: %expat_rpmvers +Summary: Cygwin expat Libraries + +Source0: ftp://cygwin.com/pub/cygwin/release/expat/expat-%{expat_version}.tar.bz2 +Source1: ftp://cygwin.com/pub/cygwin/release/expat/libexpat0/libexpat0-%{expat_version}.tar.bz2 + +Provides: @rpmprefix@@tool_target@-expat-devel = %{version}-%{release} + +%description +Cygwin expat libraries. + +%prep +%setup -c -q + +%build + rm -rf @tool_target@ + + # Setup sys-root (Usable for gcc >= 3.4) + mkdir -p @tool_target@/sys-root + ( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE0}) + ( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE1}) + +%install + rm -rf $RPM_BUILD_ROOT + mkdir -p $RPM_BUILD_ROOT%{_prefix} + cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix} + diff --git a/contrib/crossrpms/cygwin/i686/target-expat.add b/contrib/crossrpms/cygwin/i686/target-expat.add new file mode 100644 index 0000000000..693e50e255 --- /dev/null +++ b/contrib/crossrpms/cygwin/i686/target-expat.add @@ -0,0 +1,6 @@ +%files +%defattr(-,root,root,-) +%dir %{_prefix}/@tool_target@ +%{_prefix}/@tool_target@/sys-root + + |