mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-01-23 22:42:28 +08:00
25 lines
423 B
Bash
25 lines
423 B
Bash
#!/bin/bash
|
|
|
|
source versions.sh
|
|
|
|
GLSOURCES="/sources"
|
|
|
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
|
|
|
[ -d gettext-${gettext_version} ] && rm -rf gettext-${gettext_version}
|
|
|
|
tar -Jxf ${gettext_tarball}
|
|
|
|
cd gettext-${gettext_version}
|
|
|
|
./configure --disable-shared
|
|
|
|
make
|
|
|
|
if [ $? -ne 0 ]; then
|
|
myfail "Failed building gettext"
|
|
fi
|
|
|
|
cp -v gettext-tools/src/{msgfmt,msgmerge,xgettext} /usr/bin
|
|
|