mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 10:13:01 +01:00
GNU gettext 0.21
This commit is contained in:
parent
32358fd94f
commit
1857439ddd
6 changed files with 71 additions and 0 deletions
24
sysa/gettext-0.21/gettext-0.21.sh
Executable file
24
sysa/gettext-0.21/gettext-0.21.sh
Executable 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue