Sisyphus repository
Last update: 8 december 2021 | SRPMs: 17436 | Visits: 22482892
en ru br
ALT Linux repos
5.0: 1.5.7-alt1
4.1: 1.5.3-alt0.1
4.0: 1.5.3-alt0.1

Group :: Development/Other
RPM: ccbuild

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: ccbuild
Version: 1.5.3
Release: alt0.1

Summary: Dynamic Makefile
License: GPL
Group: Development/Other
Url: http://ccbuild.sourceforge.net/

Source: http://dl.sf.net/%name/%name-%version.tar.bz2
#Source: http://keihanna.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.bz2
#Patch0: %name-%version-env-alt.patch

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Automatically added by buildreq on Tue Sep 13 2005

BuildRequires: flex gcc-c++ libstdc++-devel

%description
ccbuild is like a dynamic Makefile. ccbuild finds all programs in the
current directory (containing "int main") and builds them. For this,
it reads the C++ sources and looks at all local and global includes. All
C++ files surrounding local includes are considered objects for the main
program. The global includes lead to extra compiler arguments using a
configuration file. ccbuild splits these arguments for compilation and
linking, keeping the linking arguments back for later use. It should
allow development without any scripting and only simple reusable
configuration. Deployment and distribution should still be done with
other tools. It can create simple Makefiles, A-A-P files, and graph
dependencies using DOT (graphviz) graphs.

%prep
%setup -q
#%patch0 -b .env

%build
# broken file?
rm -f ./src/SourceScanner/yylex.cc
%make_build

%install
%__install -D -m 0755 src/%name %buildroot%_bindir/%name
%__install -D -m 0644 doc/debiandoc/%name.1 %buildroot%_man1dir/%name.1

%files
%doc README NEWS TODO doc/debiandoc/ccbuild.html
%_bindir/*
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin