core/gettext/Pkgfile

27 lines
819 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: The GNU internationalization library
# URL: http://www.gnu.org/software/gettext/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: ncurses acl
2006-02-23 16:26:10 +01:00
name=gettext
2010-06-09 11:22:48 +02:00
version=0.18.1.1
release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' $name-*/*/stdio.in.h
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2007-11-11 11:12:12 +01:00
--mandir=/usr/man \
--disable-csharp \
--disable-{,native-}java \
--disable-nls \
2010-06-05 09:09:25 +02:00
--without-{emacs,git} \
2007-11-11 11:12:12 +01:00
--with-included-{glib,libcroco,libxml}
2007-11-12 16:26:40 +01:00
make
make -j1 DESTDIR=$PKG install
2007-11-11 11:12:12 +01:00
rm -r $PKG/usr/share/{info,doc}
2006-08-25 10:14:27 +02:00
rm $PKG/usr/share/gettext/intl/{COPYING*,ChangeLog}
2006-02-23 16:26:10 +01:00
}