summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-07-23 09:43:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-07-23 09:43:49 +0000
commit131ee1cc8bd2b60dc817b1a82a5b4c558476a9dd (patch)
tree69f24ac299fdf77c27c3ffd2779fecf6229708c1 /contrib
parentSync GCC with testing. (diff)
downloadrtems-131ee1cc8bd2b60dc817b1a82a5b4c558476a9dd.tar.bz2
New.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/cygwin/i686/libncurses-devel.add39
-rw-r--r--contrib/crossrpms/cygwin/i686/target-libncurses-devel.add6
2 files changed, 45 insertions, 0 deletions
diff --git a/contrib/crossrpms/cygwin/i686/libncurses-devel.add b/contrib/crossrpms/cygwin/i686/libncurses-devel.add
new file mode 100644
index 0000000000..061b5b75f1
--- /dev/null
+++ b/contrib/crossrpms/cygwin/i686/libncurses-devel.add
@@ -0,0 +1,39 @@
+%define libncurses_devel_version @NCURSES_VERS@
+%define libncurses_devel_rpmvers %{expand:%(echo @NCURSES_VERS@ | tr - _)}
+
+Name: @rpmprefix@@tool_target@-libncurses-devel
+Release: @NCURSES_RPMREL@%{?dist}
+License: GPL
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version: %libncurses_devel_rpmvers
+Summary: Cygwin libncurses_devel Libraries
+
+Source0: ftp://cygwin.com/pub/cygwin/release/ncurses/libncurses-devel/libncurses-devel-%{libncurses_devel_version}.tar.bz2
+%{?_without_sources:NoSource: 0}
+
+%description
+Cygwin libncurses-devel 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})
+
+ sed -i 's,^prefix=\(.*\)$,prefix=$RPM_BUILD_ROOT%{_prefix}/@tool_target@/sys-root\1,' etc/postinstall/libncurses-devel.sh
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ mkdir -p $RPM_BUILD_ROOT%{_prefix}
+ cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
+ ./etc/postinstall/libncurses-devel.sh
+
+
diff --git a/contrib/crossrpms/cygwin/i686/target-libncurses-devel.add b/contrib/crossrpms/cygwin/i686/target-libncurses-devel.add
new file mode 100644
index 0000000000..693e50e255
--- /dev/null
+++ b/contrib/crossrpms/cygwin/i686/target-libncurses-devel.add
@@ -0,0 +1,6 @@
+%files
+%defattr(-,root,root,-)
+%dir %{_prefix}/@tool_target@
+%{_prefix}/@tool_target@/sys-root
+
+