mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
30 lines
364 B
Bash
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
|