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"
|
|
|
|
}
|