summaryrefslogtreecommitdiffstats
path: root/gettext/Pkgfile
blob: c018fe9342fed3fd06fc0aba59916955d1ca67c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
description="The GNU internationalization library."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/gettext/"
depends=(ncurses acl)

name=gettext
version=0.18.1.1
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir \
		--disable-csharp \
		--disable-{,native-}java \
		--without-{emacs,git} \
		$(use_enable nls) \
		--with-included-{glib,libcroco,libxml};
	make;
	make -j1 DESTDIR=$PKG install;
	rm $PKG$prefix/share/gettext/intl/{COPYING*,ChangeLog}
}