Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37485549
en ru br
Репозитории ALT

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

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

%def_enable check

Name: gengetopt
Version: 2.23
Release: alt1

Summary: Tool to write command line option parsing code for C programs
License: GPLv3+
Group: Development/C
Url: http://www.gnu.org/software/%name/

Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.xz

BuildRequires: gcc-c++ bison flex help2man source-highlight makeinfo
%{?_enable_check:BuildRequires: valgrind}

%description
Gengetopt is a tool to generate C code to parse the command line
arguments argc and argv that are part of every C or C++ program. The
generated code uses the C library function getopt_long to perform the
actual command line parsing.

%define pkgdocdir %_docdir/%name-%version

%prep
%setup

%build
%configure --docdir=%pkgdocdir
%make_build

%install
%makeinstall_std
rm %buildroot%_infodir/index.info

%check
%make check

%files
%_bindir/%name
%_datadir/%name/
%_infodir/%name.info.*
%_man1dir/%name.1*
%doc %pkgdocdir/


%changelog

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

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