GNU gettext 0.21

This commit is contained in:
Andrius Štikonas 2021-05-27 21:58:10 +01:00
parent 32358fd94f
commit 1857439ddd
6 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
find . -name '*.info*' -delete
find . -name '*.gmo' -delete
# bison
rm gettext-runtime/intl/plural.c gettext-tools/src/{po-gram-gen,cldr-plural}.{c,h}
GNULIB_SRCDIR=$(realpath ../gnulib-7daa86f) ./autogen.sh
}
src_configure() {
./configure --prefix="${PREFIX}" --enable-static --disable-shared
}
src_compile() {
make MAKEINFO=true
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}