2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 00:10:05 -07:00
repo/extra/gettext/build

27 lines
537 B
Plaintext
Raw Normal View History

2019-06-27 12:43:16 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
2019-06-27 12:49:43 -06:00
--with-included-gettext \
--without-examples \
--disable-java \
--disable-native-java \
--disable-csharp \
--disable-libasprintf \
--disable-acl \
--without-git \
--disable-openmp \
--disable-curses
2019-06-27 12:43:16 -06:00
make
make DESTDIR="$1" install
2019-06-27 12:52:25 -06:00
# 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"
}
2019-06-29 23:32:46 -06:00
# Remove all info files.
rm -rf "$1/usr/share/info"