gzip/bootstrap.conf
2026-01-02 17:10:47 -08:00

113 lines
2.1 KiB
Plaintext

# Bootstrap configuration.
# Copyright (C) 2006-2007, 2009-2026 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# We don't need these modules.
avoided_gnulib_modules='
--avoid=gnulib-i18n
'
# gnulib modules used by this package.
gnulib_modules="
$avoided_gnulib_modules
alignasof
announce-gen
assert-h
calloc-gnu
close
crc-x86_64
dirname-lgpl
fclose
fcntl
fcntl-safer
fdatasync
fdopendir
filename
fprintf-posix
fsync
getopt-gnu
git-version-gen
gitlog-to-changelog
gnu-make
gnu-web-doc-update
gnumakefile
gnupload
ignore-value
intprops
inttypes-h
largefile
lib-ignore
limits-h
lstat
maintainer-makefile
malloc-gnu
manywarnings
openat-safer
printf-posix
readme-release
realloc-posix
savedir
sigaction
stat-time
strerror
sys_stat-h
time
unistd-safer
unlinkat
update-copyright
utimens
xalloc
year2038
yesno
"
# Additional gnulib-tool options to use. Use "\newline" to break lines.
# We don't need the getline and rpmatch, since yesno doesn't do i18n.
gnulib_tool_option_extras="\
--avoid getline\
--avoid rpmatch\
--symlink\
--makefile-name=gnulib.mk\
"
# Build prerequisites
buildreq="\
autoconf 2.61
automake 1.11
autopoint 0.19.2
gettext -
git 1.4.4
makeinfo -
perl 5.5
tar -
texi2pdf 6.1
xz -
"
bootstrap_epilogue()
{
perl -pi -e "s/\@PACKAGE\@/$package/g" README-release
}
# Automake requires that ChangeLog exist.
bootstrap_post_import_hook() {
touch ChangeLog || exit
# Copy tests/init.sh from Gnulib.
$gnulib_tool --copy-file tests/init.sh
}