2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 04:00:14 -07:00
repo/extra/gettext/build
2019-06-30 08:32:46 +03:00

27 lines
537 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--with-included-gettext \
--without-examples \
--disable-java \
--disable-native-java \
--disable-csharp \
--disable-libasprintf \
--disable-acl \
--without-git \
--disable-openmp \
--disable-curses
make
make DESTDIR="$1" install
# Fix conflict with musl.
[ -e "$1/usr/include/libintl.h" ] && {
mkdir -p "$1/usr/include/gettext"
mv "$1/usr/include/libintl.h" "$1/usr/include/gettext"
}
# Remove all info files.
rm -rf "$1/usr/share/info"