24 lines
764 B
Text
Executable file
24 lines
764 B
Text
Executable file
# Description: Utilities for internationalization and localization
|
|
# URL: https://www.gnu.org/software/gettext/
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
|
# Depends on:
|
|
|
|
name=gettext
|
|
version=0.21
|
|
release=1
|
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# suppress two invocations of test-lock which on some machines can loop forever
|
|
sed -i '/^TESTS =/d' gettext-runtime/tests/Makefile.in
|
|
sed -i 's/test-lock..EXEEXT.//' gettext-tools/gnulib-tests/Makefile.in
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-static
|
|
make || make -j1
|
|
make -j1 DESTDIR=$PKG install
|
|
|
|
chmod -v 0755 $PKG/usr/lib/preloadable_libintl.so
|
|
}
|