1 # Description: The GNU internationalization library
2 # URL: http://www.gnu.org/software/gettext/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
14 # fix for glibc 'gets' removal
15 sed -i -e '/gets is a/d' $name-*/*/stdio.in.h
17 cat > config.cache << EOF
18 am_cv_func_iconv_works=yes
19 gl_cv_func_wcwidth_works=yes
20 gt_cv_func_printf_posix=yes
21 gt_cv_int_divbyzero_sigfpe=yes
23 ./configure --build=$CHOST \
28 --disable-{,native-}java \
31 --with-included-{glib,libcroco,libxml} \
32 --cache-file=config.cache
34 make -j1 DESTDIR=$PKG install
35 rm -r $PKG/usr/share/{info,doc}
36 rm $PKG/usr/share/gettext/intl/{COPYING*,ChangeLog}