Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046555
en ru br
Репозитории ALT
S:2.12-alt2
5.1: 1.171-alt2
4.0: 1.171-alt1.M40.1
www.altlinux.org/Changes

Группа :: Разработка/C
Пакет: unifdef

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: unifdef
Version: 2.12
Release: alt2
Summary: A tool for removing ifdef'd lines
License: BSD-2-Clause and BSD-3-Clause
Group: Development/C
Url: https://dotat.at/prog/unifdef/
%define srcname %name-%version-%release
# git://git.altlinux.org/gears/u/unifdef.git
Source: %srcname.tar

%description
Unifdef is useful for removing ifdefed lines from a file while otherwise
leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif
lines, and it knows only enough about C and C++ to know when one of these
is inactive because it is inside a comment, or a single or double quote.

%prep
%setup -n %srcname

%build
# Check about -O0 in https://bugzilla.altlinux.org/43468
%make_build CFLAGS='%optflags -O0'

%install
%makeinstall_std prefix=/usr

%check
make test

%files
%_bindir/unifdef*
%_man1dir/unifdef*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin