Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ulih:vintagedevel
huc
huc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File huc.spec of Package huc
# # spec file for package spec (Version 2.0) # # Copyright (c) 2003 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: huc License: COPYRIGHT Group: unsorted Autoreqprov: on Version: 3.21 Release: 0 Summary: Small-C development kit for the NEC PC Engine Source: %name-%version-src.zip Patch: %name.dif BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A version of Ron Cain's venerable Small-C compiler with a 6280 assembler and a PC Engine runtime library that allows easy access to all PCE hardware features. This version has been extended by me (Ulrich Hecht) to allow C89-style function declarations (using the "-C" option) instead of the traditional K&R style used by Small-C. I also added support for C99-style "//" comments and the void type. %prep %setup -c -n %name %patch %build make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS" %install install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -m 755 bin/* $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/usr/include/huc cp -a include/* $RPM_BUILD_ROOT/usr/include/huc install -d -m 755 $RPM_BUILD_ROOT/etc/profile.d cat <<EOT >$RPM_BUILD_ROOT/etc/profile.d/huc.sh export PCE_INCLUDE=/usr/include/huc/pce EOT cat <<EOT >$RPM_BUILD_ROOT/etc/profile.d/huc.csh setenv PCE_INCLUDE /usr/include/huc/pce EOT %files %defattr(-,root,root) %doc whats.new things.todo doc/* /usr/bin/* /usr/include/huc /etc/profile.d/huc.*sh
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