summaryrefslogtreecommitdiffstats
path: root/libiconv/Pkgfile
blob: dc358d97abfb0ba66fb8cb5f94b2d9de16d98855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Fournit un support pour l'encodage de langages
# URL: http://www.gnu.org/software/libiconv/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=libiconv
version=1.14
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)

build() {
	cd $name-$version

	sed -i '/gets is a security hole/d' srclib/stdio.in.h

	./configure --prefix=/usr 
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/bin/iconv
	rm $PKG/usr/include/iconv.h
	rm -r $PKG/usr/share/doc
	chown -R 0:0 $PKG
}