CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[crossrootfs.git] / gettext / Pkgfile
CommitLineData
6dca1d21
JB
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
83e7e2d0 4# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
6dca1d21
JB
5# Depends on: ncurses
6
7name=gettext
8version=0.17
9release=3
10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
14 cat > config.cache << EOF
15am_cv_func_iconv_works=yes
16gl_cv_func_wcwidth_works=yes
17gt_cv_func_printf_posix=yes
18gt_cv_int_divbyzero_sigfpe=yes
19EOF
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --mandir=/usr/man \
24 --disable-csharp \
25 --disable-{,native-}java \
26 --disable-nls \
27 --without-emacs \
28 --with-included-{glib,libcroco,libxml} \
29 --cache-file=config.cache
30 make
31 make -j1 DESTDIR=$PKG install
32 rm -r $PKG/usr/share/{info,doc}
33 rm $PKG/usr/share/gettext/intl/{COPYING*,ChangeLog}
34}