Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ulih:vintagedevel
gccsdk
gccsdk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gccsdk.spec of Package gccsdk
# Copyright (c) 2007 SuSE Linux AG, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://www.suse.de/feedback/ # # norootforbuild Name: gccsdk License: COPYRIGHT Group: unsorted Autoreqprov: on Version: 3.4.6 Release: 0 Summary: RISC OS Software Development Kit Source: %name-20071102.tar.bz2 #Patch: patch.dif BuildRequires: bison flex rootme gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GCCSDK is a portable build environment for creating ARM executables to be run natively on RISC OS. The build environment is designed to be hosted on a Unix-like system, such as GNU/Linux, FreeBSD or Solaris. GCCSDK releases are tied-in with the corresponding RISC OS GCC releases. %package riscos Summary: RISC OS Software Development Kit (native build) Group: unsorted %description riscos Native GCCSDK packages for RISC OS. %prep %setup -n gcc %build autoconf autoheader %define sdkdir /usr/lib/gccsdk %define rodir /usr/share/gccsdk_riscos CFLAGS="$RPM_OPT_FLAGS" ac_cv_prog_MAKEINFO=echo \ ./configure --prefix=%sdkdir \ --with-riscos-dist=/tmp/gccsdk \ --with-riscos-pkg=%rodir \ --with-riscos-env=%sdkdir/env \ --enable-filetype-ff8 --enable-checking=no rootme make setup rootme make rootme make riscos-pkg rootme rm -fr /tmp/gccsdk %install mkdir -p $RPM_BUILD_ROOT/usr/lib cp -a %sdkdir $RPM_BUILD_ROOT/usr/lib mkdir -p $RPM_BUILD_ROOT/usr/share cp -a %rodir $RPM_BUILD_ROOT/usr/share mkdir -p $RPM_BUILD_ROOT/etc/profile.d cat <<EOT >$RPM_BUILD_ROOT/etc/profile.d/gccsdk.sh export GCCSDK_INSTALL_CROSSBIN=%sdkdir/bin export GCCSDK_INSTALL_ENV=%sdkdir/env EOT cat <<EOT >$RPM_BUILD_ROOT/etc/profile.d/gccsdk.csh setenv GCCSDK_INSTALL_CROSSBIN %sdkdir/bin setenv GCCSDK_INSTALL_ENV %sdkdir/env EOT %files %defattr(-,root,root) %sdkdir /etc/profile.d/* %files riscos %defattr(-,root,root) %rodir
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor