source: rtems/contrib/crossrpms/cygwin/i686/cloog-ppl.add @ e5e4e3fb

4.104.11
Last change on this file since e5e4e3fb was e5e4e3fb, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 4, 2010 at 4:52:38 PM

Add cloog-ppl.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1%define cloog_ppl_version @CLOOG_PPL_VERS@
2%define cloog_ppl_rpmvers %{expand:%(echo @CLOOG_PPL_VERS@ | tr - _)}
3
4Name:         @rpmprefix@@tool_target@-cloog-ppl
5Release:      @CLOOG_PPL_RPMREL@
6License:      GPL
7Group:        Development/Tools
8
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11
12Version:        %cloog_ppl_rpmvers
13Summary:        Cygwin cloog-ppl Libraries
14
15Source0:        ftp://cygwin.com/pub/cygwin/release/cloog-ppl/cloog-ppl-%{cloog_ppl_version}.tar.bz2
16Source1:        ftp://cygwin.com/pub/cygwin/release/cloog-ppl/libcloog0/libcloog0-%{cloog_ppl_version}.tar.bz2
17Source2:        ftp://cygwin.com/pub/cygwin/release/cloog-ppl/libcloog-devel/libcloog-devel-%{cloog_ppl_version}.tar.bz2
18
19Provides:       @rpmprefix@@tool_target@-cloog-ppl = %{version}-%{release}
20Provides:       @rpmprefix@@tool_target@-cloog-ppl-devel = %{version}-%{release}
21
22%description
23Cygwin cloog-ppl libraries.
24
25%prep
26%setup -c -q
27
28%build
29  rm -rf @tool_target@
30
31  # Setup sys-root (Usable for gcc >= 3.4)
32  mkdir -p @tool_target@/sys-root
33  ( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE0})
34  ( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE1})
35  ( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE2})
36
37%install
38  rm -rf $RPM_BUILD_ROOT
39  mkdir -p $RPM_BUILD_ROOT%{_prefix}
40  cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
41
Note: See TracBrowser for help on using the repository browser.