2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-08-24 14:56:19 +00:00
repo/extra/gettext/build

27 lines
537 B
Plaintext
Raw Normal View History

2019-06-27 18:43:16 +00:00
#!/bin/sh -e
./configure \
--prefix=/usr \
2019-06-27 18:49:43 +00: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 18:43:16 +00:00
make
make DESTDIR="$1" install
2019-06-27 18:52:25 +00: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-30 05:32:46 +00:00
# Remove all info files.
rm -rf "$1/usr/share/info"