summaryrefslogtreecommitdiffstats
path: root/gettext/Pkgfile
blob: 753c43829696b2f8bf32be2dc2f0fdebfbddbcfa (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
# Description: Utilitaire pour l'internationalisation et les locales.
# URL: http://www.gnu.org/software/gettext/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=gettext
version=0.18.1.1
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
	cd $name-$version

	
	sed -i '/gets is a security hole/d' gettext-{runtime/gnulib-lib,tools/{gnulib-lib,libgettextpo}}/stdio.in.h

	./configure --prefix=/usr 
	make
	make DESTDIR=$PKG install
	if [ -f $PKG/usr/share/info/dir ]; then
		rm $PKG/usr/share/info/dir
	fi
	rm -rf $PKG/usr/share/doc
}