mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
Add readline.
This commit is contained in:
@@ -57,6 +57,10 @@ NCURSES_VERS = 5.5-3
|
||||
NCURSES_RPMREL = 0.20080321.1%{?dist}
|
||||
include ../ncurses.am
|
||||
|
||||
READLINE_VERS = 5.2.12-10
|
||||
READLINE_RPMREL = 0.20080322.1%{?dist}
|
||||
include ../readline.am
|
||||
|
||||
ZLIB_VERS = 1.2.3-2
|
||||
ZLIB_RPMREL = 0.20080314.1%{?dist}
|
||||
include ../zlib.am
|
||||
|
||||
39
contrib/crossrpms/cygwin/i686/readline.add
Normal file
39
contrib/crossrpms/cygwin/i686/readline.add
Normal file
@@ -0,0 +1,39 @@
|
||||
%define readline_version @READLINE_VERS@
|
||||
%define readline_rpmvers %{expand:%(echo @READLINE_VERS@ | tr - _)}
|
||||
|
||||
Name: @rpmprefix@@tool_target@-readline
|
||||
Release: @READLINE_RPMREL@
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %readline_rpmvers
|
||||
Summary: Cygwin readline Libraries
|
||||
|
||||
Source0: ftp://cygwin.com/pub/cygwin/release/readline/readline-%{readline_version}.tar.bz2
|
||||
Source1: ftp://cygwin.com/pub/cygwin/release/readline/libreadline6/libreadline6-%{readline_version}.tar.bz2
|
||||
|
||||
Requires: @rpmprefix@@tool_target@-libncurses-devel
|
||||
Provides: @rpmprefix@@tool_target@-readline-devel = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Cygwin readline 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}
|
||||
|
||||
6
contrib/crossrpms/cygwin/i686/target-readline.add
Normal file
6
contrib/crossrpms/cygwin/i686/target-readline.add
Normal file
@@ -0,0 +1,6 @@
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user