2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 16:30:04 -07:00
repo/extra/gettext/build
2019-06-27 21:52:25 +03:00

24 lines
484 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"
}