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