OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [scripts/] [gccnewlib/] [base-chill.add] - Rev 587

Go to most recent revision | Compare with Previous | Blame | View Log

# ==============================================================
# rtems-base-chill
# ==============================================================
%package -n rtems-base-chill
Provides:       rtems-base-chill
Summary:        base package for rtems gcc/chill compiler.
Group: rtems
Requires: rtems-base-gcc

%description -n rtems-base-chill
RTEMS is an open source operating system for embedded systems.

This is the files for gcc/chill that are shared by all targets.

%files -n rtems-base-chill
%dir /opt/rtems/info
%doc /opt/rtems/info/chill.info*.gz

%post -n rtems-base-chill
  if test -d $RPM_INSTALL_PREFIX/rtems/info; 
  then
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    test -n "$f" && for i in $f; do
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    done
  fi

%postun -n rtems-base-chill
  if test -d $RPM_INSTALL_PREFIX/rtems/info; 
  then
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    test -n "$f" && for i in $f; do
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    done
  fi

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.