summaryrefslogtreecommitdiffstats
path: root/gettext/Pkgfile
blob: 16f3ae45925baa56e3a991e4d561bc93c2158509 (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 \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--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}
}