lfs-scripts/scripts/chapter8/8.31-gettext.sh
2023-01-11 15:40:05 +05:30

30 lines
364 B
Bash

#!/bin/bash
cd /sources
tar xf gettext-0.21.tar.xz
cd gettext-0.21
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/gettext-0.21
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
chmod -v 0755 /usr/lib/preloadable_libintl.so
cd /sources
rm -rf gettext-0.21