Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37405532
en ru br
ALT Linux repositórios
S:4.7s-alt1

Group :: Development/Tools
RPM: cproto

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: cproto
Version: 4.7s
Release: alt1

Summary: Generates function prototypes and variable declarations from C code
License: ALT-Public-Domain
Group: Development/Tools
Url: https://invisible-island.net/cproto/cproto.html
# https://invisible-mirror.net/archives/cproto/cproto-%version.tgz
Source: %name-%version.tar

BuildRequires: bison flex

%description
Cproto is a program that generates function prototypes and variable
declarations from C source code.  It can also convert function
definitions between the old style and the ANSI C style.  This conversion
overwrites the original files, however, so be sure to make a backup copy
of your original files in case something goes wrong.

The program isn't confused by complex function definitions as much as
other prototype generators because it uses a yacc generated parser.
By ignoring all the input between braces, the author has avoided
implementing the entire C language grammar.

%prep
%setup

%build
%add_optflags %(getconf LFS_CFLAGS)
%configure --enable-llib
%make_build

%install
%makeinstall_std

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%check
%make_build -k check

%files
%_bindir/cproto
%_man1dir/cproto.*
%doc AUTHORS CHANGES README

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009