CRUX-ARM : Home

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